"use strict";(self.webpackChunkmy_app=self.webpackChunkmy_app||[]).push([[179],{147:()=>{function re(e){return"function"==typeof e}function wo(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const bo=wo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=n});function br(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class _t{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(re(r))try{r()}catch(i){t=i instanceof bo?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{vc(i)}catch(s){t=t??[],s instanceof bo?t=[...t,...s.errors]:t.push(s)}}if(t)throw new bo(t)}}add(t){var n;if(t&&t!==this)if(this.closed)vc(t);else{if(t instanceof _t){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&br(n,t)}remove(t){const{_finalizers:n}=this;n&&br(n,t),t instanceof _t&&t._removeParent(this)}}_t.EMPTY=(()=>{const e=new _t;return e.closed=!0,e})();const Dc=_t.EMPTY;function _c(e){return e instanceof _t||e&&"closed"in e&&re(e.remove)&&re(e.add)&&re(e.unsubscribe)}function vc(e){re(e)?e():e.unsubscribe()}const fn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Mo={setTimeout(e,t,...n){const{delegate:r}=Mo;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Mo;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Cc(e){Mo.setTimeout(()=>{const{onUnhandledError:t}=fn;if(!t)throw e;t(e)})}function Ec(){}const $D=ys("C",void 0,void 0);function ys(e,t,n){return{kind:e,value:t,error:n}}let hn=null;function Io(e){if(fn.useDeprecatedSynchronousErrorHandling){const t=!hn;if(t&&(hn={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=hn;if(hn=null,n)throw r}}else e()}class Ds extends _t{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,_c(t)&&t.add(this)):this.destination=KD}static create(t,n,r){return new Mr(t,n,r)}next(t){this.isStopped?vs(function GD(e){return ys("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?vs(function UD(e){return ys("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?vs($D,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const WD=Function.prototype.bind;function _s(e,t){return WD.call(e,t)}class qD{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ao(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ao(r)}else Ao(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ao(n)}}}class Mr extends Ds{constructor(t,n,r){let o;if(super(),re(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&fn.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&_s(t.next,i),error:t.error&&_s(t.error,i),complete:t.complete&&_s(t.complete,i)}):o=t}this.destination=new qD(o)}}function Ao(e){fn.useDeprecatedSynchronousErrorHandling?function zD(e){fn.useDeprecatedSynchronousErrorHandling&&hn&&(hn.errorThrown=!0,hn.error=e)}(e):Cc(e)}function vs(e,t){const{onStoppedNotification:n}=fn;n&&Mo.setTimeout(()=>n(e,t))}const KD={closed:!0,next:Ec,error:function QD(e){throw e},complete:Ec},Cs="function"==typeof Symbol&&Symbol.observable||"@@observable";function wc(e){return e}let be=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function JD(e){return e&&e instanceof Ds||function ZD(e){return e&&re(e.next)&&re(e.error)&&re(e.complete)}(e)&&_c(e)}(n)?n:new Mr(n,r,o);return Io(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Mc(r))((o,i)=>{const s=new Mr({next:a=>{try{n(a)}catch(u){i(u),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Cs](){return this}pipe(...n){return function bc(e){return 0===e.length?wc:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Mc(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Mc(e){var t;return null!==(t=e??fn.Promise)&&void 0!==t?t:Promise}const YD=wo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Es=(()=>{class e extends be{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Ic(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new YD}next(n){Io(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Io(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Io(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Dc:(this.currentObservers=null,i.push(n),new _t(()=>{this.currentObservers=null,br(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new be;return n.source=this,n}}return e.create=(t,n)=>new Ic(t,n),e})();class Ic extends Es{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Dc}}function Fn(e){return t=>{if(function XD(e){return re(e?.lift)}(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Pn(e,t,n,r,o){return new e_(e,t,n,r,o)}class e_ extends Ds{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(u){t.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){t.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function pn(e,t){return Fn((n,r)=>{let o=0;n.subscribe(Pn(r,i=>{r.next(e.call(t,i,o++))}))})}function gn(e){return this instanceof gn?(this.v=e,this):new gn(e)}function r_(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,g){i.push([f,h,p,g])>1||a(f,h)})})}function a(f,h){try{!function u(f){f.value instanceof gn?Promise.resolve(f.value.v).then(l,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function l(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}function o_(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Tc(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,u){!function o(i,s,a,u){Promise.resolve(u).then(function(l){i({value:l,done:a})},s)}(a,u,(s=e[i](s)).done,s.value)})}}}const xc=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Nc(e){return re(e?.then)}function Fc(e){return re(e[Cs])}function Pc(e){return Symbol.asyncIterator&&re(e?.[Symbol.asyncIterator])}function Oc(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const Rc=function s_(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Vc(e){return re(e?.[Rc])}function kc(e){return r_(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield gn(n.read());if(o)return yield gn(void 0);yield yield gn(r)}}finally{n.releaseLock()}})}function Lc(e){return re(e?.getReader)}function Zt(e){if(e instanceof be)return e;if(null!=e){if(Fc(e))return function a_(e){return new be(t=>{const n=e[Cs]();if(re(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(xc(e))return function u_(e){return new be(t=>{for(let n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}(e);if(Nc(e))return function l_(e){return new be(t=>{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Cc)})}(e);if(Pc(e))return Bc(e);if(Vc(e))return function c_(e){return new be(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Lc(e))return function d_(e){return Bc(kc(e))}(e)}throw Oc(e)}function Bc(e){return new be(t=>{(function f_(e,t){var n,r,o,i;return function t_(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{l(r.next(c))}catch(d){s(d)}}function u(c){try{l(r.throw(c))}catch(d){s(d)}}function l(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,u)}l((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=o_(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Jt(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function So(e,t,n=1/0){return re(t)?So((r,o)=>pn((i,s)=>t(r,i,o,s))(Zt(e(r,o))),n):("number"==typeof t&&(n=t),Fn((r,o)=>function h_(e,t,n,r,o,i,s,a){const u=[];let l=0,c=0,d=!1;const f=()=>{d&&!u.length&&!l&&t.complete()},h=g=>l<r?p(g):u.push(g),p=g=>{i&&t.next(g),l++;let _=!1;Zt(n(g,c++)).subscribe(Pn(t,D=>{o?.(D),i?h(D):t.next(D)},()=>{_=!0},void 0,()=>{if(_)try{for(l--;u.length&&l<r;){const D=u.shift();s?Jt(t,s,()=>p(D)):p(D)}f()}catch(D){t.error(D)}}))};return e.subscribe(Pn(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}const jc=new be(e=>e.complete());function bs(e){return e[e.length-1]}function Hc(e){return function m_(e){return e&&re(e.schedule)}(bs(e))?e.pop():void 0}function $c(e,t=0){return Fn((n,r)=>{n.subscribe(Pn(r,o=>Jt(r,e,()=>r.next(o),t),()=>Jt(r,e,()=>r.complete(),t),o=>Jt(r,e,()=>r.error(o),t)))})}function Uc(e,t=0){return Fn((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function Gc(e,t){if(!e)throw new Error("Iterable cannot be null");return new be(n=>{Jt(n,t,()=>{const r=e[Symbol.asyncIterator]();Jt(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Ms(e,t){return t?function b_(e,t){if(null!=e){if(Fc(e))return function __(e,t){return Zt(e).pipe(Uc(t),$c(t))}(e,t);if(xc(e))return function C_(e,t){return new be(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Nc(e))return function v_(e,t){return Zt(e).pipe(Uc(t),$c(t))}(e,t);if(Pc(e))return Gc(e,t);if(Vc(e))return function E_(e,t){return new be(n=>{let r;return Jt(n,t,()=>{r=e[Rc](),Jt(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>re(r?.return)&&r.return()})}(e,t);if(Lc(e))return function w_(e,t){return Gc(kc(e),t)}(e,t)}throw Oc(e)}(e,t):Zt(e)}function Is(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Mr({next:()=>{r.unsubscribe(),e()}});return t(...n).subscribe(r)}function J(e){for(let t in e)if(e[t]===J)return t;throw Error("Could not find renamed property on target object.")}function As(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Y(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Y).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ss(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const A_=J({__forward_ref__:J});function X(e){return e.__forward_ref__=X,e.toString=function(){return Y(this())},e}function S(e){return Ts(e)?e():e}function Ts(e){return"function"==typeof e&&e.hasOwnProperty(A_)&&e.__forward_ref__===X}class b extends Error{constructor(t,n){super(function To(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,n)),this.code=t}}function N(e){return"string"==typeof e?e:null==e?"":String(e)}function xo(e,t){throw new b(-201,!1)}function ze(e,t){null==e&&function W(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function $(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function st(e){return{providers:e.providers||[],imports:e.imports||[]}}function xs(e){return zc(e,No)||zc(e,qc)}function zc(e,t){return e.hasOwnProperty(t)?e[t]:null}function Wc(e){return e&&(e.hasOwnProperty(Ns)||e.hasOwnProperty(R_))?e[Ns]:null}const No=J({\u0275prov:J}),Ns=J({\u0275inj:J}),qc=J({ngInjectableDef:J}),R_=J({ngInjectorDef:J});var T=(()=>((T=T||{})[T.Default=0]="Default",T[T.Host=1]="Host",T[T.Self=2]="Self",T[T.SkipSelf=4]="SkipSelf",T[T.Optional=8]="Optional",T))();let Fs;function Xe(e){const t=Fs;return Fs=e,t}function Qc(e,t,n){const r=xs(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&T.Optional?null:void 0!==t?t:void xo(Y(e))}function Yt(e){return{toString:e}.toString()}var at=(()=>((at=at||{})[at.OnPush=0]="OnPush",at[at.Default=1]="Default",at))(),vt=(()=>{return(e=vt||(vt={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",vt;var e})();const Z=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),On={},z=[],Fo=J({\u0275cmp:J}),Ps=J({\u0275dir:J}),Os=J({\u0275pipe:J}),Kc=J({\u0275mod:J}),Ot=J({\u0275fac:J}),Ir=J({__NG_ELEMENT_ID__:J});let k_=0;function Rs(e){return Yt(()=>{const n=!0===e.standalone,r={},o={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===at.OnPush,directiveDefs:null,pipeDefs:null,standalone:n,dependencies:n&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||z,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||vt.Emulated,id:"c"+k_++,styles:e.styles||z,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.dependencies,s=e.features;return o.inputs=Yc(e.inputs,r),o.outputs=Yc(e.outputs),s&&s.forEach(a=>a(o)),o.directiveDefs=i?()=>("function"==typeof i?i():i).map(Zc).filter(Jc):null,o.pipeDefs=i?()=>("function"==typeof i?i():i).map(Pe).filter(Jc):null,o})}function Zc(e){return q(e)||Fe(e)}function Jc(e){return null!==e}function Ct(e){return Yt(()=>({type:e.type,bootstrap:e.bootstrap||z,declarations:e.declarations||z,imports:e.imports||z,exports:e.exports||z,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function Yc(e,t){if(null==e)return On;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}const F=Rs;function q(e){return e[Fo]||null}function Fe(e){return e[Ps]||null}function Pe(e){return e[Os]||null}const k=11;function He(e){return Array.isArray(e)&&"object"==typeof e[1]}function lt(e){return Array.isArray(e)&&!0===e[1]}function Ls(e){return 0!=(8&e.flags)}function Vo(e){return 2==(2&e.flags)}function ko(e){return 1==(1&e.flags)}function ct(e){return null!==e.template}function U_(e){return 0!=(256&e[2])}function vn(e,t){return e.hasOwnProperty(Ot)?e[Ot]:null}class W_{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Rt(){return td}function td(e){return e.type.prototype.ngOnChanges&&(e.setInput=Q_),q_}function q_(){const e=rd(this),t=e?.current;if(t){const n=e.previous;if(n===On)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Q_(e,t,n,r){const o=rd(e)||function K_(e,t){return e[nd]=t}(e,{previous:On,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],u=s[a];i[a]=new W_(u&&u.currentValue,t,s===On),e[r]=t}Rt.ngInherit=!0;const nd="__ngSimpleChanges__";function rd(e){return e[nd]||null}function fe(e){for(;Array.isArray(e);)e=e[0];return e}function Lo(e,t){return fe(t[e])}function nt(e,t){return fe(t[e.index])}function Us(e,t){return e.data[t]}function Qe(e,t){const n=t[e];return He(n)?n:n[0]}function Bo(e){return 64==(64&e[2])}function Xt(e,t){return null==t?null:e[t]}function id(e){e[18]=0}function Gs(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const x={lFrame:pd(null),bindingsEnabled:!0};function ad(){return x.bindingsEnabled}function y(){return x.lFrame.lView}function H(){return x.lFrame.tView}function zs(e){return x.lFrame.contextLView=e,e[8]}function Ws(e){return x.lFrame.contextLView=null,e}function ye(){let e=ud();for(;null!==e&&64===e.type;)e=e.parent;return e}function ud(){return x.lFrame.currentTNode}function Et(e,t){const n=x.lFrame;n.currentTNode=e,n.isParent=t}function qs(){return x.lFrame.isParent}function jn(){return x.lFrame.bindingIndex++}function lv(e,t){const n=x.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ks(t)}function Ks(e){x.lFrame.currentDirectiveIndex=e}function Js(e){x.lFrame.currentQueryIndex=e}function dv(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function fd(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&T.Host||(o=dv(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=x.lFrame=hd();return r.currentTNode=t,r.lView=e,!0}function Ys(e){const t=hd(),n=e[1];x.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function hd(){const e=x.lFrame,t=null===e?null:e.child;return null===t?pd(e):t}function pd(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function gd(){const e=x.lFrame;return x.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const md=gd;function Xs(){const e=gd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Re(){return x.lFrame.selectedIndex}function en(e){x.lFrame.selectedIndex=e}function ue(){const e=x.lFrame;return Us(e.tView,e.selectedIndex)}function Ho(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=i;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),u&&(e.viewHooks||(e.viewHooks=[])).push(-n,u),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function $o(e,t,n){yd(e,t,3,n)}function Uo(e,t,n,r){(3&e[2])===n&&yd(e,t,n,r)}function ea(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function yd(e,t,n,r){const i=r??-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[18]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[18]+=65536),(a<i||-1==i)&&(vv(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function vv(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class Nr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Go(e,t,n){let r=0;for(;r<n.length;){const o=n[r];if("number"==typeof o){if(0!==o)break;r++;const i=n[r++],s=n[r++],a=n[r++];e.setAttribute(t,s,a,i)}else{const i=o,s=n[++r];_d(i)?e.setProperty(t,i,s):e.setAttribute(t,i,s),r++}}return r}function Dd(e){return 3===e||4===e||6===e}function _d(e){return 64===e.charCodeAt(0)}function zo(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||vd(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function vd(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}function Cd(e){return-1!==e}function Hn(e){return 32767&e}function $n(e,t){let n=function Mv(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let na=!0;function Wo(e){const t=na;return na=e,t}let Iv=0;const wt={};function Pr(e,t){const n=oa(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ra(r.data,e),ra(t,null),ra(r.blueprint,null));const o=qo(e,t),i=e.injectorIndex;if(Cd(o)){const s=Hn(o),a=$n(o,t),u=a[1].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function ra(e,t){e.push(0,0,0,0,0,0,0,0,t)}function oa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function qo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=xd(o),null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Qo(e,t,n){!function Av(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ir)&&(r=n[Ir]),null==r&&(r=n[Ir]=Iv++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function bd(e,t,n){if(n&T.Optional)return e;xo()}function Md(e,t,n,r){if(n&T.Optional&&void 0===r&&(r=null),0==(n&(T.Self|T.Host))){const o=e[9],i=Xe(void 0);try{return o?o.get(t,r,n&T.Optional):Qc(t,r,n&T.Optional)}finally{Xe(i)}}return bd(r,0,n)}function Id(e,t,n,r=T.Default,o){if(null!==e){if(1024&t[2]){const s=function Fv(e,t,n,r,o){let i=e,s=t;for(;null!==i&&null!==s&&1024&s[2]&&!(256&s[2]);){const a=Ad(i,s,n,r|T.Self,wt);if(a!==wt)return a;let u=i.parent;if(!u){const l=s[21];if(l){const c=l.get(n,wt,r);if(c!==wt)return c}u=xd(s),s=s[15]}i=u}return o}(e,t,n,r,wt);if(s!==wt)return s}const i=Ad(e,t,n,r,wt);if(i!==wt)return i}return Md(t,n,r,o)}function Ad(e,t,n,r,o){const i=function xv(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ir)?e[Ir]:void 0;return"number"==typeof t?t>=0?255&t:Nv:t}(n);if("function"==typeof i){if(!fd(t,e,r))return r&T.Host?bd(o,0,r):Md(t,n,r,o);try{const s=i(r);if(null!=s||r&T.Optional)return s;xo()}finally{md()}}else if("number"==typeof i){let s=null,a=oa(e,t),u=-1,l=r&T.Host?t[16][6]:null;for((-1===a||r&T.SkipSelf)&&(u=-1===a?qo(e,t):t[a+8],-1!==u&&Td(r,!1)?(s=t[1],a=Hn(u),t=$n(u,t)):a=-1);-1!==a;){const c=t[1];if(Sd(i,a,c.data)){const d=Tv(a,t,n,s,r,l);if(d!==wt)return d}u=t[a+8],-1!==u&&Td(r,t[1].data[a+8]===l)&&Sd(i,a,t)?(s=c,a=Hn(u),t=$n(u,t)):a=-1}}return o}function Tv(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=function Ko(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(o){const h=s[u];if(h&&ct(h)&&h.type===n)return u}return null}(a,s,n,null==r?Vo(a)&&na:r!=s&&0!=(3&a.type),o&T.Host&&i===a);return null!==c?Or(t,s,c,a):wt}function Or(e,t,n,r){let o=e[n];const i=t.data;if(function Cv(e){return e instanceof Nr}(o)){const s=o;s.resolving&&function S_(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new b(-200,`Circular dependency in DI detected for ${e}${n}`)}(function G(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():N(e)}(i[n]));const a=Wo(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?Xe(s.injectImpl):null;fd(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function _v(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=td(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==u&&Xe(u),Wo(a),s.resolving=!1,md()}}return o}function Sd(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Td(e,t){return!(e&T.Self||e&T.Host&&t)}class Un{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Id(this._tNode,this._lView,t,r,n)}}function Nv(){return new Un(ye(),y())}function ia(e){return Ts(e)?()=>{const t=ia(S(e));return t&&t()}:vn(e)}function xd(e){const t=e[1],n=t.type;return 2===n?t.declTNode:1===n?e[6]:null}const zn="__parameters__";function qn(e,t,n){return Yt(()=>{const r=function aa(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(zn)?u[zn]:Object.defineProperty(u,zn,{value:[]})[zn];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class O{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=$({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Lt(e,t){e.forEach(n=>Array.isArray(n)?Lt(n,t):t(n))}function Fd(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Zo(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ze(e,t,n){let r=Qn(e,t);return r>=0?e[1|r]=n:(r=~r,function Vv(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function la(e,t){const n=Qn(e,t);if(n>=0)return e[1|n]}function Qn(e,t){return function Rd(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<<n];if(t===s)return i<<n;s>t?o=i:r=i+1}return~(o<<n)}(e,t,1)}const Lr={},da="__NG_DI_FLAG__",Yo="ngTempTokenPath",Gv=/\n/gm,Vd="__source";let Br;function Kn(e){const t=Br;return Br=e,t}function Wv(e,t=T.Default){if(void 0===Br)throw new b(-203,!1);return null===Br?Qc(e,void 0,t):Br.get(e,t&T.Optional?null:void 0,t)}function L(e,t=T.Default){return(function V_(){return Fs}()||Wv)(S(e),t)}function fa(e){const t=[];for(let n=0;n<e.length;n++){const r=S(e[n]);if(Array.isArray(r)){if(0===r.length)throw new b(900,!1);let o,i=T.Default;for(let s=0;s<r.length;s++){const a=r[s],u=Qv(a);"number"==typeof u?-1===u?o=a.token:i|=u:o=a}t.push(L(o,i))}else t.push(L(r))}return t}function jr(e,t){return e[da]=t,e.prototype[da]=t,e}function Qv(e){return e[da]}const Xo=jr(qn("Optional"),8),ei=jr(qn("SkipSelf"),4);let pa;class Kd{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}function nn(e){return e instanceof Kd?e.changingThisBreaksApplicationSecurity:e}const DC=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,_C=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;var he=(()=>((he=he||{})[he.NONE=0]="NONE",he[he.HTML=1]="HTML",he[he.STYLE=2]="STYLE",he[he.SCRIPT=3]="SCRIPT",he[he.URL=4]="URL",he[he.RESOURCE_URL=5]="RESOURCE_URL",he))();function Ca(e){const t=function zr(){const e=y();return e&&e[12]}();return t?t.sanitize(he.URL,e)||"":function Ur(e,t){const n=function pC(e){return e instanceof Kd&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}(e,"URL")?nn(e):function ii(e){return(e=String(e)).match(DC)||e.match(_C)?e:"unsafe:"+e}(N(e))}const of=new O("ENVIRONMENT_INITIALIZER"),sf=new O("INJECTOR",-1),af=new O("INJECTOR_DEF_TYPES");class uf{get(t,n=Lr){if(n===Lr){const r=new Error(`NullInjectorError: No provider for ${Y(t)}!`);throw r.name="NullInjectorError",r}return n}}function PC(...e){return{\u0275providers:lf(0,e)}}function lf(e,...t){const n=[],r=new Set;let o;return Lt(t,i=>{const s=i;Ea(s,n,[],r)&&(o||(o=[]),o.push(s))}),void 0!==o&&cf(o,n),n}function cf(e,t){for(let n=0;n<e.length;n++){const{providers:o}=e[n];Lt(o,i=>{t.push(i)})}}function Ea(e,t,n,r){if(!(e=S(e)))return!1;let o=null,i=Wc(e);const s=!i&&q(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const u=e.ngModule;if(i=Wc(u),!i)return!1;o=u}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const u="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of u)Ea(l,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{Lt(i.imports,c=>{Ea(c,t,n,r)&&(l||(l=[]),l.push(c))})}finally{}void 0!==l&&cf(l,t)}if(!a){const l=vn(o)||(()=>new o);t.push({provide:o,useFactory:l,deps:z},{provide:af,useValue:o,multi:!0},{provide:of,useValue:()=>L(o),multi:!0})}const u=i.providers;null==u||a||Lt(u,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}const OC=J({provide:String,useValue:J});function wa(e){return null!==e&&"object"==typeof e&&OC in e}function Cn(e){return"function"==typeof e}const ba=new O("Set Injector scope."),ai={},VC={};let Ma;function ui(){return void 0===Ma&&(Ma=new uf),Ma}class Yn{}class hf extends Yn{constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Aa(t,s=>this.processProvider(s)),this.records.set(sf,Xn(void 0,this)),o.has("environment")&&this.records.set(Yn,Xn(void 0,this));const i=this.records.get(ba);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(af.multi,z,T.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const n=Kn(this),r=Xe(void 0);try{return t()}finally{Kn(n),Xe(r)}}get(t,n=Lr,r=T.Default){this.assertNotDestroyed();const o=Kn(this),i=Xe(void 0);try{if(!(r&T.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function HC(e){return"function"==typeof e||"object"==typeof e&&e instanceof O}(t)&&xs(t);a=u&&this.injectableDefInScope(u)?Xn(Ia(t),ai):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&T.Self?ui():this.parent).get(t,n=r&T.Optional&&n===Lr?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Yo]=s[Yo]||[]).unshift(Y(t)),o)throw s;return function Kv(e,t,n,r){const o=e[Yo];throw t[Vd]&&o.unshift(t[Vd]),e.message=function Zv(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Y(t);if(Array.isArray(t))o=t.map(Y).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Y(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(Gv,"\n  ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Yo]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{Xe(i),Kn(o)}}resolveInjectorInitializers(){const t=Kn(this),n=Xe(void 0);try{const r=this.get(of.multi,z,T.Self);for(const o of r)o()}finally{Kn(t),Xe(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Y(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new b(205,!1)}processProvider(t){let n=Cn(t=S(t))?t:S(t&&t.provide);const r=function LC(e){return wa(e)?Xn(void 0,e.useValue):Xn(pf(e),ai)}(t);if(Cn(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=Xn(void 0,ai,!0),o.factory=()=>fa(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===ai&&(n.value=VC,n.value=n.factory()),"object"==typeof n.value&&n.value&&function jC(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=S(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}}function Ia(e){const t=xs(e),n=null!==t?t.factory:vn(e);if(null!==n)return n;if(e instanceof O)throw new b(204,!1);if(e instanceof Function)return function kC(e){const t=e.length;if(t>0)throw function kr(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?"),new b(204,!1);const n=function P_(e){const t=e&&(e[No]||e[qc]);if(t){const n=function O_(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new b(204,!1)}function pf(e,t,n){let r;if(Cn(e)){const o=S(e);return vn(o)||Ia(o)}if(wa(e))r=()=>S(e.useValue);else if(function ff(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...fa(e.deps||[]));else if(function df(e){return!(!e||!e.useExisting)}(e))r=()=>L(S(e.useExisting));else{const o=S(e&&(e.useClass||e.provide));if(!function BC(e){return!!e.deps}(e))return vn(o)||Ia(o);r=()=>new o(...fa(e.deps))}return r}function Xn(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function $C(e){return!!e.\u0275providers}function Aa(e,t){for(const n of e)Array.isArray(n)?Aa(n,t):$C(n)?Aa(n.\u0275providers,t):t(n)}class gf{}class zC{resolveComponentFactory(t){throw function GC(e){const t=Error(`No component factory found for ${Y(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let li=(()=>{class e{}return e.NULL=new zC,e})();function WC(){return er(ye(),y())}function er(e,t){return new dt(nt(e,t))}let dt=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=WC,e})();class yf{}let En=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function QC(){const e=y(),n=Qe(ye().index,e);return(He(n)?n:e)[k]}(),e})(),KC=(()=>{class e{}return e.\u0275prov=$({token:e,providedIn:"root",factory:()=>null}),e})();class ci{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const ZC=new ci("14.1.3"),Sa={};function Pa(e){return e.ngOriginalError}class tr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Pa(t);for(;n&&Pa(n);)n=Pa(n);return n||null}}const Oa=new Map;let l0=0;const Va="__ngContext__";function Se(e,t){He(t)?(e[Va]=t[20],function d0(e){Oa.set(e[20],e)}(t)):e[Va]=t}function Wr(e){const t=e[Va];return"number"==typeof t?function wf(e){return Oa.get(e)||null}(t):t||null}function ka(e){const t=Wr(e);return t?He(t)?t:t.lView:null}const v0=(()=>(typeof requestAnimationFrame<"u"&&requestAnimationFrame||setTimeout).bind(Z))();function La(e){return e.ownerDocument}var $e=(()=>(($e=$e||{})[$e.Important=1]="Important",$e[$e.DashCase=2]="DashCase",$e))();function ja(e,t){return undefined(e,t)}function qr(e){const t=e[3];return lt(t)?t[3]:t}function Ha(e){return Nf(e[13])}function $a(e){return Nf(e[4])}function Nf(e){for(;null!==e&&!lt(e);)e=e[4];return e}function rr(e,t,n,r,o){if(null!=r){let i,s=!1;lt(r)?i=r:He(r)&&(s=!0,r=r[0]);const a=fe(r);0===e&&null!==n?null==o?kf(t,n,a):wn(t,n,a,o||null,!0):1===e&&null!==n?wn(t,n,a,o||null,!0):2===e?function Gf(e,t,n){const r=di(e,t);r&&function k0(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function j0(e,t,n,r,o){const i=n[7];i!==fe(n)&&rr(t,e,r,i,o);for(let a=10;a<n.length;a++){const u=n[a];Qr(u[1],u,e,t,r,i)}}(t,e,i,n,o)}}function Ga(e,t,n){return e.createElement(t,n)}function Pf(e,t){const n=e[9],r=n.indexOf(t),o=t[3];512&t[2]&&(t[2]&=-513,Gs(o,-1)),n.splice(r,1)}function za(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&Pf(o,r),t>0&&(e[n-1][4]=r[4]);const i=Zo(e,10+t);!function T0(e,t){Qr(e,t,t[k],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-65}return r}function Of(e,t){if(!(128&t[2])){const n=t[k];n.destroyNode&&Qr(e,t,n,3,null,null),function F0(e){let t=e[13];if(!t)return Wa(e[1],e);for(;t;){let n=null;if(He(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)He(t)&&Wa(t[1],t),t=t[3];null===t&&(t=e),He(t)&&Wa(t[1],t),n=t&&t[4]}t=n}}(t)}}function Wa(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function V0(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Nr)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],u=i[s+1];try{u.call(a)}finally{}}else try{i.call(o)}finally{}}}}(e,t),function R0(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+1],a="function"==typeof s?s(t):fe(t[s]),u=r[o=n[i+2]],l=n[i+3];"boolean"==typeof l?a.removeEventListener(n[i],u,l):l>=0?r[o=l]():r[o=-l].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i<r.length;i++)(0,r[i])();t[7]=null}}(e,t),1===t[1].type&&t[k].destroy();const n=t[17];if(null!==n&&lt(t[3])){n!==t[3]&&Pf(n,t);const r=t[19];null!==r&&r.detachView(e)}!function f0(e){Oa.delete(e[20])}(t)}}function Rf(e,t,n){return function Vf(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const o=e.data[r.directiveStart].encapsulation;if(o===vt.None||o===vt.Emulated)return null}return nt(r,n)}(e,t.parent,n)}function wn(e,t,n,r,o){e.insertBefore(t,n,r,o)}function kf(e,t,n){e.appendChild(t,n)}function Lf(e,t,n,r,o){null!==r?wn(e,t,n,r,o):kf(e,t,n)}function di(e,t){return e.parentNode(t)}let Hf=function jf(e,t,n){return 40&e.type?nt(e,n):null};function fi(e,t,n,r){const o=Rf(e,r,t),i=t[k],a=function Bf(e,t,n){return Hf(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)Lf(i,o,n[u],a,!1);else Lf(i,o,n,a,!1)}function hi(e,t){if(null!==t){const n=t.type;if(3&n)return nt(t,e);if(4&n)return Qa(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return hi(e,r);{const o=e[t.index];return lt(o)?Qa(-1,o):fe(o)}}if(32&n)return ja(t,e)()||fe(e[t.index]);{const r=Uf(e,t);return null!==r?Array.isArray(r)?r[0]:hi(qr(e[16]),r):hi(e,t.next)}}return null}function Uf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Qa(e,t){const n=10+e+1;if(n<t.length){const r=t[n],o=r[1].firstChild;if(null!==o)return hi(r,o)}return t[7]}function Ka(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Se(fe(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)Ka(e,t,n.child,r,o,i,!1),rr(t,e,o,a,i);else if(32&u){const l=ja(n,r);let c;for(;c=l();)rr(t,e,o,c,i);rr(t,e,o,a,i)}else 16&u?zf(e,t,r,n,o,i):rr(t,e,o,a,i);n=s?n.projectionNext:n.next}}function Qr(e,t,n,r,o,i){Ka(n,r,e.firstChild,t,o,i,!1)}function zf(e,t,n,r,o,i){const s=n[16],u=s[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)rr(t,e,o,u[l],i);else Ka(e,t,u,s[3],o,i,!0)}function Wf(e,t,n){e.setAttribute(t,"style",n)}function Za(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function qf(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const Qf="ng-template";function $0(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==qf(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Kf(e){return 4===e.type&&e.value!==Qf}function U0(e,t,n){return t===(4!==e.type||n?e.value:Qf)}function G0(e,t,n){let r=4;const o=e.attrs||[],i=function q0(e){for(let t=0;t<e.length;t++)if(Dd(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!U0(e,u,n)||""===u&&1===t.length){if(ft(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!$0(e.attrs,l,n)){if(ft(r))return!1;s=!0}continue}const d=z0(8&r?"class":u,o,Kf(e),n);if(-1===d){if(ft(r))return!1;s=!0;continue}if(""!==l){let f;f=d>i?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==qf(h,l,0)||2&r&&l!==f){if(ft(r))return!1;s=!0}}}}else{if(!s&&!ft(r)&&!ft(u))return!1;if(s&&ft(u))continue;s=!1,r=u|1&r}}return ft(r)||s}function ft(e){return 0==(1&e)}function z0(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function Q0(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Zf(e,t,n=!1){for(let r=0;r<t.length;r++)if(G0(e,t[r],n))return!0;return!1}function Jf(e,t){return e?":not("+t.trim()+")":t}function Z0(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!ft(s)&&(t+=Jf(i,o),o=""),r=s,i=i||!ft(r);n++}return""!==o&&(t+=Jf(i,o)),t}const P={};function Je(e){Yf(H(),y(),Re()+e,!1)}function Yf(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&$o(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Uo(t,i,0,n)}en(n)}function nh(e,t=null,n=null,r){const o=rh(e,t,n,r);return o.resolveInjectorInitializers(),o}function rh(e,t=null,n=null,r,o=new Set){const i=[n||z,PC(e)];return r=r||("object"==typeof e?void 0:Y(e)),new hf(i,t||ui(),r||null,o)}let jt=(()=>{class e{static create(n,r){if(Array.isArray(n))return nh({name:""},r,n,"");{const o=n.name??"";return nh({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Lr,e.NULL=new uf,e.\u0275prov=$({token:e,providedIn:"any",factory:()=>L(sf)}),e.__NG_ELEMENT_ID__=-1,e})();function v(e,t=T.Default){const n=y();return null===n?L(e,t):Id(ye(),n,S(e),t)}function gi(e,t){return e<<17|t<<2}function ht(e){return e>>17&32767}function tu(e){return 2|e}function Ht(e){return(131068&e)>>2}function nu(e,t){return-131069&e|t<<2}function ru(e){return 1|e}function vh(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],i=n[r+1];if(-1!==i){const s=e.data[i];Js(o),s.contentQueries(2,t[i],i)}}}function Di(e,t,n,r,o,i,s,a,u,l,c){const d=t.blueprint.slice();return d[0]=o,d[2]=76|r,(null!==c||e&&1024&e[2])&&(d[2]|=1024),id(d),d[3]=d[15]=e,d[8]=n,d[10]=s||e&&e[10],d[k]=a||e&&e[k],d[12]=u||e&&e[12]||null,d[9]=l||e&&e[9]||null,d[6]=i,d[20]=function c0(){return l0++}(),d[21]=c,d[16]=2==t.type?e[16]:d,d}function ir(e,t,n,r,o){let i=e.data[t];if(null===i)i=function fu(e,t,n,r,o){const i=ud(),s=qs(),u=e.data[t]=function OE(e,t,n,r,o,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u)),u}(e,t,n,r,o),function uv(){return x.lFrame.inI18n}()&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function xr(){const e=x.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Et(i,!0),i}function sr(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function _i(e,t,n){Ys(t);try{const r=e.viewQuery;null!==r&&Cu(1,r,n);const o=e.template;null!==o&&Ch(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&vh(e,t),e.staticViewQueries&&Cu(2,e.viewQuery,n);const i=e.components;null!==i&&function xE(e,t){for(let n=0;n<t.length;n++)ZE(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Xs()}}function Kr(e,t,n,r){const o=t[2];if(128!=(128&o)){Ys(t);try{id(t),function ld(e){return x.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Ch(e,t,n,2,r);const s=3==(3&o);if(s){const l=e.preOrderCheckHooks;null!==l&&$o(t,l,null)}else{const l=e.preOrderHooks;null!==l&&Uo(t,l,0,null),ea(t,0)}if(function QE(e){for(let t=Ha(e);null!==t;t=$a(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r],i=o[3];0==(512&o[2])&&Gs(i,1),o[2]|=512}}}(t),function qE(e){for(let t=Ha(e);null!==t;t=$a(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];Bo(r)&&Kr(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&vh(e,t),s){const l=e.contentCheckHooks;null!==l&&$o(t,l)}else{const l=e.contentHooks;null!==l&&Uo(t,l,1),ea(t,1)}!function SE(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)en(~o);else{const i=o,s=n[++r],a=n[++r];lv(s,i),a(2,t[i])}}}finally{en(-1)}}(e,t);const a=e.components;null!==a&&function TE(e,t){for(let n=0;n<t.length;n++)KE(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&Cu(2,u,r),s){const l=e.viewCheckHooks;null!==l&&$o(t,l)}else{const l=e.viewHooks;null!==l&&Uo(t,l,2),ea(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Gs(t[3],-1))}finally{Xs()}}}function NE(e,t,n,r){const o=t[10],s=function od(e){return 4==(4&e[2])}(t);try{!s&&o.begin&&o.begin(),s&&_i(e,t,r),Kr(e,t,n,r)}finally{!s&&o.end&&o.end()}}function Ch(e,t,n,r,o){const i=Re(),s=2&r;try{en(-1),s&&t.length>22&&Yf(e,t,22,!1),n(r,o)}finally{en(i)}}function hu(e,t,n){!ad()||(function BE(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Pr(n,t),Se(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const u=e.data[a],l=ct(u);l&&GE(t,n,u);const c=Or(t,e,a,n);Se(c,t),null!==s&&zE(0,a-o,c,u,0,s),l&&(Qe(n.index,t)[8]=c)}}(e,t,n,nt(n,t)),128==(128&n.flags)&&function jE(e,t,n){const r=n.directiveStart,o=n.directiveEnd,i=n.index,s=function cv(){return x.lFrame.currentDirectiveIndex}();try{en(i);for(let a=r;a<o;a++){const u=e.data[a],l=t[a];Ks(a),(null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs)&&Th(u,l)}}finally{en(-1),Ks(s)}}(e,t,n))}function pu(e,t,n=nt){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}function wh(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=gu(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function gu(e,t,n,r,o,i,s,a,u,l){const c=22+r,d=c+o,f=function FE(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:P);return n}(c,d),h="function"==typeof l?l():l;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function Mh(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function Ih(e,t){const r=t.directiveEnd,o=e.data,i=t.attrs,s=[];let a=null,u=null;for(let l=t.directiveStart;l<r;l++){const c=o[l],d=c.inputs,f=null===i||Kf(t)?null:WE(d,i);s.push(f),a=Mh(d,l,a),u=Mh(c.outputs,l,u)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=u}function Ye(e,t,n,r,o,i,s,a){const u=nt(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(Eu(e,n,c,r,o),Vo(t)&&Ah(n,t.index)):3&t.type&&(r=function RE(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(u,r,o))}function Ah(e,t){const n=Qe(t,e);16&n[2]||(n[2]|=32)}function mu(e,t,n,r){let o=!1;if(ad()){const i=function HE(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let i=0;i<r.length;i++){const s=r[i];Zf(n,s.selectors,!1)&&(o||(o=[]),Qo(Pr(n,t),e,s.type),ct(s)?(xh(e,n),o.unshift(s)):o.push(s))}return o}(e,t,n),s=null===r?null:{"":-1};if(null!==i){o=!0,Nh(n,e.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let a=!1,u=!1,l=sr(e,t,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];n.mergedAttrs=zo(n.mergedAttrs,d.hostAttrs),Fh(e,n,t,l,d),UE(l,d,s),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!u&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),u=!0),l++}Ih(e,n)}s&&function $E(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new b(-301,!1);r.push(t[o],i)}}}(n,r,s)}return n.mergedAttrs=zo(n.mergedAttrs,n.attrs),o}function Sh(e,t,n,r,o,i){const s=i.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function LE(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,o,s)}}function Th(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function xh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function UE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;ct(t)&&(n[""]=e)}}function Nh(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Fh(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=vn(o.type)),s=new Nr(i,ct(o),v);e.blueprint[r]=s,n[r]=s,Sh(e,t,0,r,sr(e,n,o.hostVars,P),o)}function GE(e,t,n){const r=nt(t,e),o=wh(n),i=e[10],s=vi(e,Di(e,o,null,n.onPush?32:16,r,t,i,i.createRenderer(r,n),null,null,null));e[t.index]=s}function zE(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let u=0;u<s.length;){const l=s[u++],c=s[u++],d=s[u++];null!==a?r.setInput(n,d,l,c):n[c]=d}}}function WE(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Ph(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function KE(e,t){const n=Qe(t,e);if(Bo(n)){const r=n[1];48&n[2]?Kr(r,n,r.template,n[8]):n[5]>0&&Du(n)}}function Du(e){for(let r=Ha(e);null!==r;r=$a(r))for(let o=10;o<r.length;o++){const i=r[o];if(Bo(i))if(512&i[2]){const s=i[1];Kr(s,i,s.template,i[8])}else i[5]>0&&Du(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=Qe(n[r],e);Bo(o)&&o[5]>0&&Du(o)}}function ZE(e,t){const n=Qe(t,e),r=n[1];(function JE(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),_i(r,n,n[8])}function vi(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function _u(e){for(;e;){e[2]|=32;const t=qr(e);if(U_(e)&&!t)return e;e=t}return null}function Rh(e){!function Oh(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=ka(n);if(null!==r){const o=r[1];NE(o,r,o.template,n)}}}(e[8])}function Cu(e,t,n){Js(0),t(e,n)}const XE=(()=>Promise.resolve(null))();function Vh(e){return e[7]||(e[7]=[])}function kh(e){return e.cleanup||(e.cleanup=[])}function Bh(e,t){const n=e[9],r=n?n.get(tr,null):null;r&&r.handleError(t)}function Eu(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,o,r,a):u[a]=o}}function Ci(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=Ss(o,a):2==i&&(r=Ss(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}function Ei(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(fe(i)),lt(i))for(let a=10;a<i.length;a++){const u=i[a],l=u[1].firstChild;null!==l&&Ei(u[1],u,l,r)}const s=n.type;if(8&s)Ei(e,t,n.child,r);else if(32&s){const a=ja(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=Uf(t,n);if(Array.isArray(a))r.push(...a);else{const u=qr(t[16]);Ei(u[1],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class Zr{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return Ei(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(lt(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(za(t,r),Zo(n,r))}this._attachedToViewContainer=!1}Of(this._lView[1],this._lView)}onDestroy(t){!function bh(e,t,n,r){const o=Vh(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&kh(e).push(r,o.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){_u(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){!function vu(e,t,n){const r=t[10];r.begin&&r.begin();try{Kr(e,t,e.template,n)}catch(o){throw Bh(t,o),o}finally{r.end&&r.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new b(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function N0(e,t){Qr(e,t,t[k],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new b(902,!1);this._appRef=t}}class ew extends Zr{constructor(t){super(t),this._view=t}detectChanges(){Rh(this._view)}checkNoChanges(){}get context(){return null}}class wu extends li{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=q(t);return new Jr(n,this.ngModule)}}function jh(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class nw{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){const o=this.injector.get(t,Sa,r);return o!==Sa||n===Sa?o:this.parentInjector.get(t,n,r)}}class Jr extends gf{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function J0(e){return e.map(Z0).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return jh(this.componentDef.inputs)}get outputs(){return jh(this.componentDef.outputs)}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof Yn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new nw(t,i):t,a=s.get(yf,null);if(null===a)throw new b(407,!1);const u=s.get(KC,null),l=a.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",d=r?function PE(e,t,n){return e.selectRootElement(t,n===vt.ShadowDom)}(l,r,this.componentDef.encapsulation):Ga(a.createRenderer(null,this.componentDef),c,function tw(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(c)),f=this.componentDef.onPush?288:272,h=function aw(e,t){return{components:[],scheduler:e||v0,clean:XE,playerHandler:t||null,flags:0}}(),p=gu(0,null,null,1,0,null,null,null,null,null),g=Di(null,p,h,f,null,null,a,l,u,s,null);let _,D;Ys(g);try{const w=function iw(e,t,n,r,o,i){const s=n[1];n[22]=e;const u=ir(s,22,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(Ci(u,l,!0),null!==e&&(Go(o,e,l),null!==u.classes&&Za(o,e,u.classes),null!==u.styles&&Wf(o,e,u.styles)));const c=r.createRenderer(e,t),d=Di(n,wh(t),null,t.onPush?32:16,n[22],u,r,c,i||null,null,null);return s.firstCreatePass&&(Qo(Pr(u,n),s,t.type),xh(s,u),Nh(u,n.length,1)),vi(n,d),n[22]=d}(d,this.componentDef,g,a,l);if(d)if(r)Go(l,d,["ng-version",ZC.full]);else{const{attrs:m,classes:M}=function Y0(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!ft(o))break;o=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);m&&Go(l,d,m),M&&M.length>0&&Za(l,d,M.join(" "))}if(D=Us(p,22),void 0!==n){const m=D.projection=[];for(let M=0;M<this.ngContentSelectors.length;M++){const B=n[M];m.push(null!=B?Array.from(B):null)}}_=function sw(e,t,n,r,o){const i=n[1],s=function kE(e,t,n){const r=ye();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Fh(e,r,t,sr(e,t,1,null),n),Ih(e,r));const o=Or(t,e,r.directiveStart,r);Se(o,t);const i=nt(r,t);return i&&Se(i,t),o}(i,n,t);if(r.components.push(s),e[8]=s,null!==o)for(const u of o)u(s,t);if(t.contentQueries){const u=ye();t.contentQueries(1,s,u.directiveStart)}const a=ye();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(en(a.index),Sh(n[1],a,0,a.directiveStart,a.directiveEnd,t),Th(t,s)),s}(w,this.componentDef,g,h,[uw]),_i(p,g,null)}finally{Xs()}return new ow(this.componentType,_,er(D,g),g,D)}}class ow extends class UC{}{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new ew(o),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let o;if(null!==r&&(o=r[t])){const i=this._rootLView;Eu(i[1],i,o,t,n),Ah(i,this._tNode.index)}}get injector(){return new Un(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function uw(){const e=ye();Ho(y()[1],e)}function Q(e){let t=function Hh(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let o;if(ct(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new b(903,!1);o=t.\u0275dir}if(o){if(n){r.push(o);const s=e;s.inputs=bu(e.inputs),s.declaredInputs=bu(e.declaredInputs),s.outputs=bu(e.outputs);const a=o.hostBindings;a&&fw(e,a);const u=o.viewQuery,l=o.contentQueries;if(u&&cw(e,u),l&&dw(e,l),As(e.inputs,o.inputs),As(e.declaredInputs,o.declaredInputs),As(e.outputs,o.outputs),ct(o)&&o.data.animation){const c=e.data;c.animation=(c.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s<i.length;s++){const a=i[s];a&&a.ngInherit&&a(e),a===Q&&(n=!1)}}t=Object.getPrototypeOf(t)}!function lw(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=zo(o.hostAttrs,n=zo(n,o.hostAttrs))}}(r)}function bu(e){return e===On?{}:e===z?[]:e}function cw(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function dw(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function fw(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}let wi=null;function bn(){if(!wi){const e=Z.Symbol;if(e&&e.iterator)wi=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(wi=r)}}}return wi}function Yr(e){return!!Mu(e)&&(Array.isArray(e)||!(e instanceof Map)&&bn()in e)}function Mu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Te(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function ur(e,t,n,r){return Te(e,jn(),n)?t+N(n)+r:P}function Iu(e){return function Bn(e,t){return e[t]}(function av(){return x.lFrame.contextLView}(),22+e)}function Gt(e,t,n){const r=y();return Te(r,jn(),t)&&Ye(H(),ue(),r,e,t,r[k],n,!1),Gt}function Au(e,t,n,r,o){const s=o?"class":"style";Eu(e,n,t.inputs[s],s,r)}function U(e,t,n,r){const o=y(),i=H(),s=22+e,a=o[k],u=o[s]=Ga(a,t,function Dv(){return x.lFrame.currentNamespace}()),l=i.firstCreatePass?function ww(e,t,n,r,o,i,s){const a=t.consts,l=ir(t,e,2,o,Xt(a,i));return mu(t,n,l,Xt(a,s)),null!==l.attrs&&Ci(l,l.attrs,!1),null!==l.mergedAttrs&&Ci(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,0,t,n,r):i.data[s];Et(l,!0);const c=l.mergedAttrs;null!==c&&Go(a,u,c);const d=l.classes;null!==d&&Za(a,u,d);const f=l.styles;return null!==f&&Wf(a,u,f),64!=(64&l.flags)&&fi(i,o,u,l),0===function nv(){return x.lFrame.elementDepthCount}()&&Se(u,o),function rv(){x.lFrame.elementDepthCount++}(),ko(l)&&(hu(i,o,l),function Eh(e,t,n){if(Ls(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i<o;i++){const s=e.data[i];s.contentQueries&&s.contentQueries(1,n[i],i)}}}(i,l,o)),null!==r&&pu(o,l),U}function K(){let e=ye();qs()?function Qs(){x.lFrame.isParent=!1}():(e=e.parent,Et(e,!1));const t=e;!function ov(){x.lFrame.elementDepthCount--}();const n=H();return n.firstCreatePass&&(Ho(n,e),Ls(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function wv(e){return 0!=(16&e.flags)}(t)&&Au(n,t,y(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function bv(e){return 0!=(32&e.flags)}(t)&&Au(n,t,y(),t.stylesWithoutHost,!1),K}function At(e,t,n,r){return U(e,t,n,r),K(),At}function xu(){return y()}function Mi(e){return!!e&&"function"==typeof e.then}const ep=function Xh(e){return!!e&&"function"==typeof e.subscribe};function Ee(e,t,n,r){const o=y(),i=H(),s=ye();return function np(e,t,n,r,o,i,s,a){const u=ko(r),c=e.firstCreatePass&&kh(e),d=t[8],f=Vh(t);let h=!0;if(3&r.type||a){const _=nt(r,t),D=a?a(_):_,w=f.length,m=a?B=>a(fe(B[r.index])):r.index;let M=null;if(!a&&u&&(M=function Mw(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],u=o[i+2];return a.length>u?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==M)(M.__ngLastListenerFn__||M).__ngNextListenerFn__=i,M.__ngLastListenerFn__=i,h=!1;else{i=op(r,t,d,i,!1);const B=n.listen(D,o,i);f.push(i,B),c&&c.push(o,m,w,w+1)}}else i=op(r,t,d,i,!1);const p=r.outputs;let g;if(h&&null!==p&&(g=p[o])){const _=g.length;if(_)for(let D=0;D<_;D+=2){const ne=t[g[D]][g[D+1]].subscribe(i),Nn=f.length;f.push(i,ne),c&&c.push(o,r.index,Nn,-(Nn+1))}}}(i,o,o[k],s,e,t,0,r),Ee}function rp(e,t,n,r){try{return!1!==n(r)}catch(o){return Bh(e,o),!1}}function op(e,t,n,r,o){return function i(s){if(s===Function)return r;_u(2&e.flags?Qe(e.index,t):t);let u=rp(t,0,r,s),l=i.__ngNextListenerFn__;for(;l;)u=rp(t,0,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function ip(e=1){return function fv(e){return(x.lFrame.contextLView=function hv(e,t){for(;e>0;)t=t[15],e--;return t}(e,x.lFrame.contextLView))[8]}(e)}function Nu(e,t,n){return Fu(e,"",t,"",n),Nu}function Fu(e,t,n,r,o){const i=y(),s=ur(i,t,n,r);return s!==P&&Ye(H(),ue(),i,e,s,i[k],o,!1),Fu}function pp(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?ht(i):Ht(i),u=!1;for(;0!==a&&(!1===u||s);){const c=e[a+1];Nw(e[a],t)&&(u=!0,e[a+1]=r?ru(c):tu(c)),a=r?ht(c):Ht(c)}u&&(e[n+1]=r?tu(i):ru(i))}function Nw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Qn(e,t)>=0}function Ii(e,t){return function pt(e,t,n,r){const o=y(),i=H(),s=function kt(e){const t=x.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}(2);i.firstUpdatePass&&function wp(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[Re()],s=function Ep(e,t){return t>=e.expandoStartIndex}(e,n);(function Ap(e,t){return 0!=(e.flags&(t?16:32))})(i,r)&&null===t&&!s&&(t=!1),t=function jw(e,t,n,r){const o=function Zs(e){const t=x.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=eo(n=Pu(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Pu(o,e,t,n,r),null===i){let u=function Hw(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Ht(r))return e[ht(r)]}(e,t,r);void 0!==u&&Array.isArray(u)&&(u=Pu(null,e,t,u[1],r),u=eo(u,t.attrs,r),function $w(e,t,n,r){e[ht(n?t.classBindings:t.styleBindings)]=r}(e,t,r,u))}else i=function Uw(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i<o;i++)r=eo(r,e[i].hostAttrs,n);return eo(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function Tw(e,t,n,r,o,i){let s=i?t.classBindings:t.styleBindings,a=ht(s),u=Ht(s);e[r]=n;let c,l=!1;if(Array.isArray(n)){const d=n;c=d[1],(null===c||Qn(d,c)>0)&&(l=!0)}else c=n;if(o)if(0!==u){const f=ht(e[a+1]);e[r+1]=gi(f,a),0!==f&&(e[f+1]=nu(e[f+1],r)),e[a+1]=function DE(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=gi(a,0),0!==a&&(e[a+1]=nu(e[a+1],r)),a=r;else e[r+1]=gi(u,0),0===a?a=r:e[u+1]=nu(e[u+1],r),u=r;l&&(e[r+1]=tu(e[r+1])),pp(e,c,r,!0),pp(e,c,r,!1),function xw(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Qn(i,t)>=0&&(n[r+1]=ru(n[r+1]))}(t,c,e,r,i),s=gi(a,u),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==P&&Te(o,s,t)&&function Mp(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const u=e.data,l=u[a+1];Ai(function fh(e){return 1==(1&e)}(l)?Ip(u,t,n,o,Ht(l),s):void 0)||(Ai(i)||function dh(e){return 2==(2&e)}(l)&&(i=Ip(u,null,n,o,a,s)),function H0(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:$e.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=$e.Important),e.setStyle(n,r,o,i))}}(r,s,Lo(Re(),n),o,i))}(i,i.data[Re()],o,o[k],e,o[s+1]=function Ww(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Y(nn(e)))),e}(t,n),r,s)}(e,t,null,!0),Ii}function Pu(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<s&&(i=t[a],r=eo(r,i.hostAttrs,o),i!==e);)a++;return null!==e&&(n.directiveStylingLast=a),r}function eo(e,t,n){const r=n?1:2;let o=-1;if(null!==t)for(let i=0;i<t.length;i++){const s=t[i];"number"==typeof s?o=s:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ze(e,s,!!n||t[++i]))}return void 0===e?null:e}function Ip(e,t,n,r,o,i){const s=null===t;let a;for(;o>0;){const u=e[o],l=Array.isArray(u),c=l?u[1]:u,d=null===c;let f=n[o+1];f===P&&(f=d?z:void 0);let h=d?la(f,r):c===r?f:void 0;if(l&&!Ai(h)&&(h=la(u,r)),Ai(h)&&(a=h,s))return a;const p=e[o+1];o=s?ht(p):Ht(p)}if(null!==t){let u=i?t.residualClasses:t.residualStyles;null!=u&&(a=la(u,r))}return a}function Ai(e){return void 0!==e}function le(e,t=""){const n=y(),r=H(),o=e+22,i=r.firstCreatePass?ir(r,o,1,t,null):r.data[o],s=n[o]=function Ua(e,t){return e.createText(t)}(n[k],t);fi(r,n,s,i),Et(i,!1)}function to(e){return Si("",e,""),to}function Si(e,t,n){const r=y(),o=ur(r,e,t,n);return o!==P&&function $t(e,t,n){const r=Lo(t,e);!function Ff(e,t,n){e.setValue(t,n)}(e[k],r,n)}(r,Re(),o),Si}const Dr="en-US";let Kp=Dr;function Vu(e,t,n,r,o){if(e=S(e),Array.isArray(e))for(let i=0;i<e.length;i++)Vu(e[i],t,n,r,o);else{const i=H(),s=y();let a=Cn(e)?e:S(e.provide),u=pf(e);const l=ye(),c=1048575&l.providerIndexes,d=l.directiveStart,f=l.providerIndexes>>20;if(Cn(e)||!e.multi){const h=new Nr(u,o,v),p=Lu(a,t,o?c:c+f,d);-1===p?(Qo(Pr(l,s),i,a),ku(i,e,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=Lu(a,t,c+f,d),p=Lu(a,t,c,c+f),g=h>=0&&n[h],_=p>=0&&n[p];if(o&&!_||!o&&!g){Qo(Pr(l,s),i,a);const D=function cM(e,t,n,r,o){const i=new Nr(e,n,v);return i.multi=[],i.index=t,i.componentProviders=0,vg(i,o,r&&!n),i}(o?lM:uM,n.length,o,r,u);!o&&_&&(n[p].providerFactory=D),ku(i,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=1048576),n.push(D),s.push(D)}else ku(i,e,h>-1?h:p,vg(n[o?p:h],u,!o&&r));!o&&r&&_&&n[p].componentProviders++}}}function ku(e,t,n,r){const o=Cn(t),i=function RC(e){return!!e.useClass}(t);if(o||i){const u=(i?S(t.useClass):t).prototype.ngOnDestroy;if(u){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=l.indexOf(n);-1===c?l.push(n,[r,u]):l[c+1].push(r,u)}else l.push(n,u)}}}function vg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Lu(e,t,n,r){for(let o=n;o<r;o++)if(t[o]===e)return o;return-1}function uM(e,t,n,r){return Bu(this.multi,[])}function lM(e,t,n,r){const o=this.multi;let i;if(this.providerFactory){const s=this.providerFactory.componentProviders,a=Or(n,n[1],this.providerFactory.index,r);i=a.slice(0,s),Bu(o,i);for(let u=s;u<a.length;u++)i.push(a[u])}else i=[],Bu(o,i);return i}function Bu(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ie(e,t=[]){return n=>{n.providersResolver=(r,o)=>function aM(e,t,n){const r=H();if(r.firstCreatePass){const o=ct(e);Vu(n,r.data,r.blueprint,o,!0),Vu(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class vr{}class Cg extends vr{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new wu(this);const r=function We(e,t){const n=e[Kc]||null;if(!n&&!0===t)throw new Error(`Type ${Y(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function Bt(e){return e instanceof Function?e():e}(r.bootstrap),this._r3Injector=rh(t,n,[{provide:vr,useValue:this},{provide:li,useValue:this.componentFactoryResolver}],Y(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ju extends class dM{}{constructor(t){super(),this.moduleType=t}create(t){return new Cg(this.moduleType,t)}}function $u(e,t,n,r){return function Tg(e,t,n,r,o,i){const s=t+n;return Te(e,s,o)?function It(e,t,n){return e[t]=n}(e,s+1,i?r.call(i,o):r(o)):function so(e,t){const n=e[t];return n===P?void 0:n}(e,s+1)}(y(),function Oe(){const e=x.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}(),e,t,n,r)}function Uu(e){return t=>{setTimeout(e,void 0,t)}}const xe=class jM extends Es{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const u=t;o=u.next?.bind(u),i=u.error?.bind(u),s=u.complete?.bind(u)}this.__isAsync&&(i=Uu(i),o&&(o=Uu(o)),s&&(s=Uu(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof _t&&t.add(a),a}};let zt=(()=>{class e{}return e.__NG_ELEMENT_ID__=GM,e})();const $M=zt,UM=class extends $M{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t,n){const r=this._declarationTContainer.tViews,o=Di(this._declarationLView,r,t,16,null,r.declTNode,null,null,null,null,n||null);o[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(o[19]=s.createEmbeddedView(r)),_i(r,o,t),new Zr(o)}};function GM(){return function Pi(e,t){return 4&e.type?new UM(t,e,er(e,t)):null}(ye(),y())}let xt=(()=>{class e{}return e.__NG_ELEMENT_ID__=zM,e})();function zM(){return function Vg(e,t){let n;const r=t[e.index];if(lt(r))n=r;else{let o;if(8&e.type)o=fe(r);else{const i=t[k];o=i.createComment("");const s=nt(e,t);wn(i,di(i,s),o,function L0(e,t){return e.nextSibling(t)}(i,s),!1)}t[e.index]=n=Ph(r,t,o,e),vi(t,n)}return new Og(n,e,t)}(ye(),y())}const WM=xt,Og=class extends WM{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return er(this._hostTNode,this._hostLView)}get injector(){return new Un(this._hostTNode,this._hostLView)}get parentInjector(){const t=qo(this._hostTNode,this._hostLView);if(Cd(t)){const n=$n(t,this._hostLView),r=Hn(t);return new Un(n[1].data[r+8],n)}return new Un(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Rg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=t.createEmbeddedView(n||{},i);return this.insert(s,o),s}createComponent(t,n,r,o,i){const s=t&&!function Vr(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const d=n||{};a=d.index,r=d.injector,o=d.projectableNodes,i=d.environmentInjector||d.ngModuleRef}const u=s?t:new Jr(q(t)),l=r||this.parentInjector;if(!i&&null==u.ngModule){const f=(s?l:this.parentInjector).get(Yn,null);f&&(i=f)}const c=u.create(l,o,void 0,i);return this.insert(c.hostView,a),c}insert(t,n){const r=t._lView,o=r[1];if(function tv(e){return lt(e[3])}(r)){const c=this.indexOf(t);if(-1!==c)this.detach(c);else{const d=r[3],f=new Og(d,d[6],d[3]);f.detach(f.indexOf(t))}}const i=this._adjustIndex(n),s=this._lContainer;!function P0(e,t,n,r){const o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],Fd(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const s=t[17];null!==s&&n!==s&&function O0(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(s,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=64}(o,r,s,i);const a=Qa(i,s),u=r[k],l=di(u,s[7]);return null!==l&&function x0(e,t,n,r,o,i){r[0]=o,r[6]=t,Qr(e,r,n,1,o,i)}(o,s[6],u,r,l,a),t.attachToViewContainerRef(),Fd(zu(s),i,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Rg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=za(this._lContainer,n);r&&(Zo(zu(this._lContainer),n),Of(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=za(this._lContainer,n);return r&&null!=Zo(zu(this._lContainer),n)?new Zr(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function Rg(e){return e[8]}function zu(e){return e[8]||(e[8]=[])}function Ri(...e){}const sm=new O("Application Initializer");let Vi=(()=>{class e{constructor(n){this.appInits=n,this.resolve=Ri,this.reject=Ri,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const i=this.appInits[o]();if(Mi(i))n.push(i);else if(ep(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(L(sm,8))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const co=new O("AppId",{providedIn:"root",factory:function am(){return`${tl()}${tl()}${tl()}`}});function tl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const um=new O("Platform Initializer"),nl=new O("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),MI=new O("appBootstrapListener"),Wt=new O("LocaleId",{providedIn:"root",factory:()=>function qv(e,t=T.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),L(e,t)}(Wt,T.Optional|T.SkipSelf)||function II(){return typeof $localize<"u"&&$localize.locale||Dr}()}),NI=(()=>Promise.resolve(0))();function rl(e){typeof Zone>"u"?NI.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class we{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new xe(!1),this.onMicrotaskEmpty=new xe(!1),this.onStable=new xe(!1),this.onError=new xe(!1),typeof Zone>"u")throw new b(908,!1);Zone.assertZonePatched();const o=this;if(o._nesting=0,o._outer=o._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const i=Zone.AsyncStackTaggingZoneSpec;o._inner=o._inner.fork(new i("Angular"))}Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function FI(){let e=Z.requestAnimationFrame,t=Z.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function RI(e){const t=()=>{!function OI(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Z,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,il(e),e.isCheckStableRunning=!0,ol(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),il(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return dm(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),fm(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return dm(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),fm(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,il(e),ol(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!we.isInAngularZone())throw new b(909,!1)}static assertNotInAngularZone(){if(we.isInAngularZone())throw new b(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,PI,Ri,Ri);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const PI={};function ol(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function il(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function dm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function fm(e){e._nesting--,ol(e)}class VI{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new xe,this.onMicrotaskEmpty=new xe,this.onStable=new xe,this.onError=new xe}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const hm=new O(""),ki=new O("");let ul,sl=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ul||(function kI(e){ul=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{we.assertNotInAngularZone(),rl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())rl(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(L(we),L(al),L(ki))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),al=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return ul?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),sn=null;const pm=new O("AllowMultipleToken"),ll=new O("PlatformDestroyListeners");function mm(e,t,n=[]){const r=`Platform: ${t}`,o=new O(r);return(i=[])=>{let s=cl();if(!s||s.injector.get(pm,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function jI(e){if(sn&&!sn.get(pm,!1))throw new b(400,!1);sn=e;const t=e.get(Dm);(function gm(e){const t=e.get(um,null);t&&t.forEach(n=>n())})(e)}(function ym(e=[],t){return jt.create({name:t,providers:[{provide:ba,useValue:"platform"},{provide:ll,useValue:new Set([()=>sn=null])},...e]})}(a,r))}return function $I(e){const t=cl();if(!t)throw new b(401,!1);return t}()}}function cl(){return sn?.get(Dm)??null}let Dm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function UI(e,t){let n;return n="noop"===e?new VI:("zone.js"===e?void 0:e)||new we(t),n}(r?.ngZone,function _m(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}(r)),i=[{provide:we,useValue:o}];return o.run(()=>{const s=jt.create({providers:i,parent:this.injector,name:n.moduleType.name}),a=n.create(s),u=a.injector.get(tr,null);if(!u)throw new b(402,!1);return o.runOutsideAngular(()=>{const l=o.onError.subscribe({next:c=>{u.handleError(c)}});a.onDestroy(()=>{Li(this._modules,a),l.unsubscribe()})}),function vm(e,t,n){try{const r=n();return Mi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(u,o,()=>{const l=a.injector.get(Vi);return l.runInitializers(),l.donePromise.then(()=>(function Zp(e){ze(e,"Expected localeId to be defined"),"string"==typeof e&&(Kp=e.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Wt,Dr)||Dr),this._moduleDoBootstrap(a),a))})})}bootstrapModule(n,r=[]){const o=Cm({},r);return function LI(e,t,n){const r=new ju(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(dl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new b(403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new b(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(ll,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(L(jt))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Cm(e,t){return Array.isArray(t)?t.reduce(Cm,e):{...e,...t}}let dl=(()=>{class e{constructor(n,r,o){this._zone=n,this._injector=r,this._exceptionHandler=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new be(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new be(a=>{let u;this._zone.runOutsideAngular(()=>{u=this._zone.onStable.subscribe(()=>{we.assertNotInAngularZone(),rl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const l=this._zone.onUnstable.subscribe(()=>{we.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{u.unsubscribe(),l.unsubscribe()}});this.isStable=function M_(...e){const t=Hc(e),n=function D_(e,t){return"number"==typeof bs(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Zt(r[0]):function p_(e=1/0){return So(wc,e)}(n)(Ms(r,t)):jc}(i,s.pipe(function I_(e={}){const{connector:t=(()=>new Es),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,u,l=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=u=void 0,c=d=!1},p=()=>{const g=s;h(),g?.unsubscribe()};return Fn((g,_)=>{l++,!d&&!c&&f();const D=u=u??t();_.add(()=>{l--,0===l&&!d&&!c&&(a=Is(p,o))}),D.subscribe(_),!s&&l>0&&(s=new Mr({next:w=>D.next(w),error:w=>{d=!0,f(),a=Is(h,n,w),D.error(w)},complete:()=>{c=!0,f(),a=Is(h,r),D.complete()}}),Zt(g).subscribe(s))})(i)}}()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof gf;if(!this._injector.get(Vi).done)throw!o&&function lo(e){const t=q(e)||Fe(e)||Pe(e);return null!==t&&t.standalone}(n),new b(405,false);let s;s=o?n:this._injector.get(li).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function BI(e){return e.isBoundToModule}(s)?void 0:this._injector.get(vr),l=s.create(jt.NULL,[],r||s.selector,a),c=l.location.nativeElement,d=l.injector.get(hm,null);return d?.registerApplication(c),l.onDestroy(()=>{this.detachView(l.hostView),Li(this.components,l),d?.unregisterApplication(c)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new b(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Li(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(MI,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Li(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new b(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)(L(we),L(Yn),L(tr))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Li(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let wm=!0;class Tm{constructor(){}supports(t){return Yr(t)}create(t){return new XI(t)}}const YI=(e,t)=>t;class XI{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||YI}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex<Nm(r,o,i)?n:r,a=Nm(s,o,i),u=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const l=a-o,c=u-o;if(l!=c){for(let f=0;f<l;f++){const h=f<i.length?i[f]:i[f]=0,p=h+f;c<=p&&p<l&&(i[f]=h+1)}i[s.previousIndex]=c-l}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Yr(t))throw new b(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function yw(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[bn()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new eA(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new xm),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new xm),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class eA{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class tA{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class xm{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new tA,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Nm(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class Fm{constructor(){}supports(t){return t instanceof Map||Mu(t)}create(){return new nA}}class nA{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Mu(t)))throw new b(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new rA(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class rA{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Pm(){return new Hi([new Tm])}let Hi=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Pm()),deps:[[e,new ei,new Xo]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new b(901,!1)}}return e.\u0275prov=$({token:e,providedIn:"root",factory:Pm}),e})();function Om(){return new fo([new Fm])}let fo=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Om()),deps:[[e,new ei,new Xo]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new b(901,!1)}}return e.\u0275prov=$({token:e,providedIn:"root",factory:Om}),e})();const sA=mm(null,"core",[]);let aA=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(L(dl))},e.\u0275mod=Ct({type:e}),e.\u0275inj=st({}),e})(),$i=null;function Sn(){return $i}const Nt=new O("DocumentToken");function Gm(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}let zm=(()=>{class e{constructor(n,r,o,i){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=o,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(Yr(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){const n=this._keyValueDiffer.diff(this._rawClass);n&&this._applyKeyValueChanges(n)}}_applyKeyValueChanges(n){n.forEachAddedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachChangedItem(r=>this._toggleClass(r.key,r.currentValue)),n.forEachRemovedItem(r=>{r.previousValue&&this._toggleClass(r.key,!1)})}_applyIterableChanges(n){n.forEachAddedItem(r=>{if("string"!=typeof r.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${Y(r.item)}`);this._toggleClass(r.item,!0)}),n.forEachRemovedItem(r=>this._toggleClass(r.item,!1))}_applyClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!0)):Object.keys(n).forEach(r=>this._toggleClass(r,!!n[r])))}_removeClasses(n){n&&(Array.isArray(n)||n instanceof Set?n.forEach(r=>this._toggleClass(r,!1)):Object.keys(n).forEach(r=>this._toggleClass(r,!1)))}_toggleClass(n,r){(n=n.trim())&&n.split(/\s+/g).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return e.\u0275fac=function(n){return new(n||e)(v(Hi),v(fo),v(dt),v(En))},e.\u0275dir=F({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class ZA{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Qm=(()=>{class e{constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new ZA(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),Km(a,o)}});for(let o=0,i=r.length;o<i;o++){const a=r.get(o).context;a.index=o,a.count=i,a.ngForOf=this._ngForOf}n.forEachIdentityChange(o=>{Km(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(v(xt),v(zt),v(Hi))},e.\u0275dir=F({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function Km(e,t){e.context.$implicit=t.item}let Ym=(()=>{class e{constructor(n,r,o){this._ngEl=n,this._differs=r,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())}ngDoCheck(){if(this._differ){const n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}}_setStyle(n,r){const[o,i]=n.split("."),s=-1===o.indexOf("-")?void 0:$e.DashCase;null!=r?this._renderer.setStyle(this._ngEl.nativeElement,o,i?`${r}${i}`:r,s):this._renderer.removeStyle(this._ngEl.nativeElement,o,s)}_applyChanges(n){n.forEachRemovedItem(r=>this._setStyle(r.key,null)),n.forEachAddedItem(r=>this._setStyle(r.key,r.currentValue)),n.forEachChangedItem(r=>this._setStyle(r.key,r.currentValue))}}return e.\u0275fac=function(n){return new(n||e)(v(dt),v(fo),v(En))},e.\u0275dir=F({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),e})(),MS=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=st({}),e})();class ny{}class xl extends class xS extends class cA{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function lA(e){$i||($i=e)}(new xl)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function NS(){return go=go||document.querySelector("base"),go?go.getAttribute("href"):null}();return null==n?null:function FS(e){Yi=Yi||document.createElement("a"),Yi.setAttribute("href",e);const t=Yi.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){go=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return Gm(document.cookie,t)}}let Yi,go=null;const ry=new O("TRANSITION_ID"),OS=[{provide:sm,useFactory:function PS(e,t,n){return()=>{n.get(Vi).donePromise.then(()=>{const r=Sn(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i<o.length;i++)r.remove(o[i])})}},deps:[ry,Nt,jt],multi:!0}];let VS=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const Xi=new O("EventManagerPlugins");let es=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i<o.length;i++){const s=o[i];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(L(Xi),L(we))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();class oy{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const o=Sn().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let iy=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),mo=(()=>{class e extends iy{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(sy),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(sy))}}return e.\u0275fac=function(n){return new(n||e)(L(Nt))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();function sy(e){Sn().remove(e)}const Nl={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Fl=/%COMP%/g;function ts(e,t,n){for(let r=0;r<t.length;r++){let o=t[r];Array.isArray(o)?ts(e,o,n):(o=o.replace(Fl,e),n.push(o))}return n}function ly(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let Pl=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new Ol(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case vt.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new $S(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case vt.ShadowDom:return new US(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=ts(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(L(es),L(mo),L(co))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();class Ol{constructor(t){this.eventManager=t,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?document.createElementNS(Nl[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){(dy(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(dy(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=Nl[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=Nl[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&($e.DashCase|$e.Important)?t.style.setProperty(n,r,o&$e.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&$e.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,ly(r)):this.eventManager.addEventListener(t,n,ly(r))}}function dy(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class $S extends Ol{constructor(t,n,r,o){super(t),this.component=r;const i=ts(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function BS(e){return"_ngcontent-%COMP%".replace(Fl,e)}(o+"-"+r.id),this.hostAttr=function jS(e){return"_nghost-%COMP%".replace(Fl,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class US extends Ol{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=ts(o.id,o.styles,[]);for(let s=0;s<i.length;s++){const a=document.createElement("style");a.textContent=i[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let GS=(()=>{class e extends oy{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(L(Nt))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const fy=["alt","control","meta","shift"],WS={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},hy={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},qS={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let QS=(()=>{class e extends oy{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Sn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="";if(fy.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const a={};return a.domEventName=o,a.fullKey=s,a}static getEventFullKey(n){let r="",o=function KS(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&hy.hasOwnProperty(t)&&(t=hy[t]))}return WS[t]||t}(n);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),fy.forEach(i=>{i!=o&&(0,qS[i])(n)&&(r+=i+".")}),r+=o,r}static eventCallback(n,r,o){return i=>{e.getEventFullKey(i)===n&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(L(Nt))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const XS=mm(sA,"browser",[{provide:nl,useValue:"browser"},{provide:um,useValue:function ZS(){xl.makeCurrent()},multi:!0},{provide:Nt,useFactory:function YS(){return function sC(e){pa=e}(document),document},deps:[]}]),gy=new O(""),my=[{provide:ki,useClass:class RS{addToWindow(t){Z.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},Z.getAllAngularTestabilities=()=>t.getAllTestabilities(),Z.getAllAngularRootElements=()=>t.getAllRootElements(),Z.frameworkStabilizers||(Z.frameworkStabilizers=[]),Z.frameworkStabilizers.push(r=>{const o=Z.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Sn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:hm,useClass:sl,deps:[we,al,ki]},{provide:sl,useClass:sl,deps:[we,al,ki]}],yy=[{provide:ba,useValue:"root"},{provide:tr,useFactory:function JS(){return new tr},deps:[]},{provide:Xi,useClass:GS,multi:!0,deps:[Nt,we,nl]},{provide:Xi,useClass:QS,multi:!0,deps:[Nt]},{provide:Pl,useClass:Pl,deps:[es,mo,co]},{provide:yf,useExisting:Pl},{provide:iy,useExisting:mo},{provide:mo,useClass:mo,deps:[Nt]},{provide:es,useClass:es,deps:[Xi,we]},{provide:ny,useClass:VS,deps:[]},[]];let eT=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:co,useValue:n.appId},{provide:ry,useExisting:co},OS]}}}return e.\u0275fac=function(n){return new(n||e)(L(gy,12))},e.\u0275mod=Ct({type:e}),e.\u0275inj=st({providers:[...yy,...my],imports:[MS,aA]}),e})();typeof window<"u"&&window;const{isArray:cT}=Array,{getPrototypeOf:dT,prototype:fT,keys:hT}=Object;const{isArray:mT}=Array;function _T(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}function vT(...e){const t=function y_(e){return re(bs(e))?e.pop():void 0}(e),{args:n,keys:r}=function pT(e){if(1===e.length){const t=e[0];if(cT(t))return{args:t,keys:null};if(function gT(e){return e&&"object"==typeof e&&dT(e)===fT}(t)){const n=hT(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}(e),o=new be(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let u=s,l=s;for(let c=0;c<s;c++){let d=!1;Zt(n[c]).subscribe(Pn(i,f=>{d||(d=!0,l--),a[c]=f},()=>u--,void 0,()=>{(!u||!d)&&(l||i.next(r?_T(r,a):a),i.complete())}))}});return t?o.pipe(function DT(e){return pn(t=>function yT(e,t){return mT(t)?e(...t):e(t)}(e,t))}(t)):o}let vy=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(v(En),v(dt))},e.\u0275dir=F({type:e}),e})(),Tn=(()=>{class e extends vy{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=function Ae(e){return Yt(()=>{const t=e.prototype.constructor,n=t[Ot]||ia(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Ot]||ia(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}(e)))(r||e)}}(),e.\u0275dir=F({type:e,features:[Q]}),e})();const Ft=new O("NgValueAccessor"),ET={provide:Ft,useExisting:X(()=>ns),multi:!0},bT=new O("CompositionEventMode");let ns=(()=>{class e extends vy{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function wT(){const e=Sn()?Sn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(v(En),v(dt),v(bT,8))},e.\u0275dir=F({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){1&n&&Ee("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[ie([ET]),Q]}),e})();function un(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function Ey(e){return null!=e&&"number"==typeof e.length}const Ne=new O("NgValidators"),ln=new O("NgAsyncValidators"),IT=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class kl{static min(t){return function wy(e){return t=>{if(un(t.value)||un(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}(t)}static max(t){return function by(e){return t=>{if(un(t.value)||un(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}(t)}static required(t){return function My(e){return un(e.value)?{required:!0}:null}(t)}static requiredTrue(t){return function Iy(e){return!0===e.value?null:{required:!0}}(t)}static email(t){return function Ay(e){return un(e.value)||IT.test(e.value)?null:{email:!0}}(t)}static minLength(t){return function Sy(e){return t=>un(t.value)||!Ey(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static maxLength(t){return function Ty(e){return t=>Ey(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}(t)}static pattern(t){return function xy(e){if(!e)return rs;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),r=>{if(un(r.value))return null;const o=r.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}(t)}static nullValidator(t){return null}static compose(t){return Vy(t)}static composeAsync(t){return ky(t)}}function rs(e){return null}function Ny(e){return null!=e}function Fy(e){return Mi(e)?Ms(e):e}function Py(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function Oy(e,t){return t.map(n=>n(e))}function Ry(e){return e.map(t=>function AT(e){return!e.validate}(t)?t:n=>t.validate(n))}function Vy(e){if(!e)return null;const t=e.filter(Ny);return 0==t.length?null:function(n){return Py(Oy(n,t))}}function Ll(e){return null!=e?Vy(Ry(e)):null}function ky(e){if(!e)return null;const t=e.filter(Ny);return 0==t.length?null:function(n){return vT(Oy(n,t).map(Fy)).pipe(pn(Py))}}function Bl(e){return null!=e?ky(Ry(e)):null}function Ly(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function By(e){return e._rawValidators}function jy(e){return e._rawAsyncValidators}function jl(e){return e?Array.isArray(e)?e:[e]:[]}function os(e,t){return Array.isArray(e)?e.includes(t):e===t}function Hy(e,t){const n=jl(t);return jl(e).forEach(o=>{os(n,o)||n.push(o)}),n}function $y(e,t){return jl(t).filter(n=>!os(e,n))}class Uy{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Ll(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=Bl(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class Be extends Uy{get formDirective(){return null}get path(){return null}}class cn extends Uy{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Gy{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let zy=(()=>{class e extends Gy{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(v(cn,2))},e.\u0275dir=F({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Ii("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[Q]}),e})(),Wy=(()=>{class e extends Gy{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(v(Be,10))},e.\u0275dir=F({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&Ii("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[Q]}),e})();const yo="VALID",ss="INVALID",wr="PENDING",Do="DISABLED";function Gl(e){return(as(e)?e.validators:e)||null}function Qy(e){return Array.isArray(e)?Ll(e):e||null}function zl(e,t){return(as(t)?t.asyncValidators:e)||null}function Ky(e){return Array.isArray(e)?Bl(e):e||null}function as(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Zy(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new b(1e3,"");if(!r[n])throw new b(1001,"")}function Jy(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new b(1002,"")})}class us{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=Qy(this._rawValidators),this._composedAsyncValidatorFn=Ky(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===yo}get invalid(){return this.status===ss}get pending(){return this.status==wr}get disabled(){return this.status===Do}get enabled(){return this.status!==Do}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=Qy(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=Ky(t)}addValidators(t){this.setValidators(Hy(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(Hy(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators($y(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators($y(t,this._rawAsyncValidators))}hasValidator(t){return os(this._rawValidators,t)}hasAsyncValidator(t){return os(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=wr,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Do,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=yo,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===yo||this.status===wr)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Do:yo}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=wr,this._hasOwnPendingAsyncValidator=!0;const n=Fy(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new xe,this.statusChanges=new xe}_calculateStatus(){return this._allControlsDisabled()?Do:this.errors?ss:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(wr)?wr:this._anyControlsHaveStatus(ss)?ss:yo}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){as(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}}class ls extends us{constructor(t,n,r){super(Gl(n),zl(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){Jy(this,0,t),Object.keys(t).forEach(r=>{Zy(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}function _o(e,t){Wl(e,t),t.valueAccessor.writeValue(e.value),e.disabled&&t.valueAccessor.setDisabledState?.(!0),function VT(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Yy(e,t)})}(e,t),function LT(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function kT(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Yy(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function RT(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function ds(e,t,n=!0){const r=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(r),t.valueAccessor.registerOnTouched(r)),hs(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function fs(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function Wl(e,t){const n=By(e);null!==t.validator?e.setValidators(Ly(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=jy(e);null!==t.asyncValidator?e.setAsyncValidators(Ly(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();fs(t._rawValidators,o),fs(t._rawAsyncValidators,o)}function hs(e,t){let n=!1;if(null!==e){if(null!==t.validator){const o=By(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.validator);i.length!==o.length&&(n=!0,e.setValidators(i))}}if(null!==t.asyncValidator){const o=jy(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==t.asyncValidator);i.length!==o.length&&(n=!0,e.setAsyncValidators(i))}}}const r=()=>{};return fs(t._rawValidators,r),fs(t._rawAsyncValidators,r),n}function Yy(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function nD(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function rD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const Co=class extends us{constructor(t=null,n,r){super(Gl(n),zl(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),as(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=rD(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){nD(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){nD(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){rD(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}};let uD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=F({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})(),cD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=st({}),e})();const Zl=new O("NgModelWithFormControlWarning"),YT={provide:Be,useExisting:X(()=>ps)};let ps=(()=>{class e extends Be{constructor(n,r){super(),this.validators=n,this.asyncValidators=r,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new xe,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(hs(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){const r=this.form.get(n.path);return _o(r,n),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){ds(n.control||null,n,!1),function $T(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this.submitted=!0,function tD(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(n),!1}onReset(){this.resetForm()}resetForm(n){this.form.reset(n),this.submitted=!1}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,o=this.form.get(n.path);r!==o&&(ds(r||null,n),(e=>e instanceof Co)(o)&&(_o(o,n),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);(function Xy(e,t){Wl(e,t)})(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function BT(e,t){return hs(e,t)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Wl(this.form,this),this._oldForm&&hs(this._oldForm,this)}_checkFormPresent(){}}return e.\u0275fac=function(n){return new(n||e)(v(Ne,10),v(ln,10))},e.\u0275dir=F({type:e,selectors:[["","formGroup",""]],hostBindings:function(n,r){1&n&&Ee("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ie([YT]),Q,Rt]}),e})();const tx={provide:cn,useExisting:X(()=>Xl)};let Xl=(()=>{class e extends cn{constructor(n,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new xe,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Ql(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===ns?n=i:function HT(e){return Object.getPrototypeOf(e.constructor)===Tn}(i)?r=i:o=i}),o||r||n||null}(0,i)}set isDisabled(n){}ngOnChanges(n){this._added||this._setUpControl(),function ql(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return function cs(e,t){return[...t.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return e._ngModelWarningSentOnce=!1,e.\u0275fac=function(n){return new(n||e)(v(Be,13),v(Ne,10),v(ln,10),v(Ft,10),v(Zl,8))},e.\u0275dir=F({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[ie([tx]),Q,Rt]}),e})(),mx=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=st({imports:[cD]}),e})(),ID=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:Zl,useValue:n.warnOnNgModelWithFormControl}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=st({imports:[mx]}),e})();class AD extends us{constructor(t,n,r){super(Gl(n),zl(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(t){return this.controls[this._adjustIndex(t)]}push(t,n={}){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(t,n,r={}){this.controls.splice(t,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(t,n={}){let r=this._adjustIndex(t);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(t,n,r={}){let o=this._adjustIndex(t);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),n&&(this.controls.splice(o,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,n={}){Jy(this,0,t),t.forEach((r,o)=>{Zy(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(t.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t=[],n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(t=>t.getRawValue())}clear(t={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:t.emitEvent}))}_adjustIndex(t){return t<0?t+this.length:t}_syncPendingControls(){let t=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){this.controls.forEach((n,r)=>{t(n,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(n=>n.enabled&&t(n))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}_find(t){return this.at(t)??null}}function SD(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let yx=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const n=new e;return n.useNonNullable=!0,n}group(n,r=null){const o=this._reduceControls(n);let i={};return SD(r)?i=r:null!==r&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new ls(o,i)}control(n,r,o){let i={};return this.useNonNullable?(SD(r)?i=r:(i.validators=r,i.asyncValidators=o),new Co(n,{...i,nonNullable:!0})):new Co(n,r,o)}array(n,r,o){const i=n.map(s=>this._createControl(s));return new AD(i,r,o)}_reduceControls(n){const r={};return Object.keys(n).forEach(o=>{r[o]=this._createControl(n[o])}),r}_createControl(n){return n instanceof Co||n instanceof us?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:ID}),e})();class TD{}class xD{}class Kt{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.keys(t).forEach(n=>{let r=t[n];const o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(this.headers.set(o,r),this.maybeSetNormalizedName(n,o))})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Kt?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Kt;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Kt?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class Cx{encodeKey(t){return ND(t)}encodeValue(t){return ND(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const wx=/%(\d[a-f0-9])/gi,bx={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ND(e){return encodeURIComponent(e).replace(wx,(t,n)=>bx[n]??t)}function gs(e){return`${e}`}class dn{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Cx,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Ex(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],u=n.get(s)||[];u.push(a),n.set(s,u)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(gs):[gs(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new dn({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(gs(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(gs(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class Mx{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function FD(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function PD(e){return typeof Blob<"u"&&e instanceof Blob}function OD(e){return typeof FormData<"u"&&e instanceof FormData}class Eo{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function Ix(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new Kt),this.context||(this.context=new Mx),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":a<n.length-1?"&":"")+s}}else this.params=new dn,this.urlWithParams=n}serializeBody(){return null===this.body?null:FD(this.body)||PD(this.body)||OD(this.body)||function Ax(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof dn?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||OD(this.body)?null:PD(this.body)?this.body.type||null:FD(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof dn?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(t={}){const n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress;let u=t.headers||this.headers,l=t.params||this.params;const c=t.context??this.context;return void 0!==t.setHeaders&&(u=Object.keys(t.setHeaders).reduce((d,f)=>d.set(f,t.setHeaders[f]),u)),t.setParams&&(l=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),l)),new Eo(n,r,i,{params:l,headers:u,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var me=(()=>((me=me||{})[me.Sent=0]="Sent",me[me.UploadProgress=1]="UploadProgress",me[me.ResponseHeader=2]="ResponseHeader",me[me.DownloadProgress=3]="DownloadProgress",me[me.Response=4]="Response",me[me.User=5]="User",me))();class rc{constructor(t,n=200,r="OK"){this.headers=t.headers||new Kt,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class oc extends rc{constructor(t={}){super(t),this.type=me.ResponseHeader}clone(t={}){return new oc({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class ms extends rc{constructor(t={}){super(t),this.type=me.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new ms({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class RD extends rc{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function ic(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let VD=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Eo)i=n;else{let u,l;u=o.headers instanceof Kt?o.headers:new Kt(o.headers),o.params&&(l=o.params instanceof dn?o.params:new dn({fromObject:o.params})),i=new Eo(n,r,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=function Dx(...e){return Ms(e,Hc(e))}(i).pipe(function _x(e,t){return re(t)?So(e,t,1):So(e,1)}(u=>this.handler.handle(u)));if(n instanceof Eo||"events"===o.observe)return s;const a=s.pipe(function vx(e,t){return Fn((n,r)=>{let o=0;n.subscribe(Pn(r,i=>e.call(t,i,o++)&&r.next(i)))})}(u=>u instanceof ms));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(pn(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(pn(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(pn(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(pn(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new dn).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,ic(o,r))}post(n,r,o={}){return this.request("POST",n,ic(o,r))}put(n,r,o={}){return this.request("PUT",n,ic(o,r))}}return e.\u0275fac=function(n){return new(n||e)(L(TD))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();class kD{constructor(t,n){this.next=t,this.interceptor=n}handle(t){return this.interceptor.intercept(t,this.next)}}const LD=new O("HTTP_INTERCEPTORS");let Sx=(()=>{class e{intercept(n,r){return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const Tx=/^\)\]\}',?\n/;let BD=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new be(r=>{const o=this.xhrFactory.build();if(o.open(n.method,n.urlWithParams),n.withCredentials&&(o.withCredentials=!0),n.headers.forEach((h,p)=>o.setRequestHeader(h,p.join(","))),n.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const h=n.detectContentTypeHeader();null!==h&&o.setRequestHeader("Content-Type",h)}if(n.responseType){const h=n.responseType.toLowerCase();o.responseType="json"!==h?h:"text"}const i=n.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const h=o.statusText||"OK",p=new Kt(o.getAllResponseHeaders()),g=function xx(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(o)||n.url;return s=new oc({headers:p,status:o.status,statusText:h,url:g}),s},u=()=>{let{headers:h,status:p,statusText:g,url:_}=a(),D=null;204!==p&&(D=typeof o.response>"u"?o.responseText:o.response),0===p&&(p=D?200:0);let w=p>=200&&p<300;if("json"===n.responseType&&"string"==typeof D){const m=D;D=D.replace(Tx,"");try{D=""!==D?JSON.parse(D):null}catch(M){D=m,w&&(w=!1,D={error:M,text:D})}}w?(r.next(new ms({body:D,headers:h,status:p,statusText:g,url:_||void 0})),r.complete()):r.error(new RD({error:D,headers:h,status:p,statusText:g,url:_||void 0}))},l=h=>{const{url:p}=a(),g=new RD({error:h,status:o.status||0,statusText:o.statusText||"Unknown Error",url:p||void 0});r.error(g)};let c=!1;const d=h=>{c||(r.next(a()),c=!0);let p={type:me.DownloadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),"text"===n.responseType&&!!o.responseText&&(p.partialText=o.responseText),r.next(p)},f=h=>{let p={type:me.UploadProgress,loaded:h.loaded};h.lengthComputable&&(p.total=h.total),r.next(p)};return o.addEventListener("load",u),o.addEventListener("error",l),o.addEventListener("timeout",l),o.addEventListener("abort",l),n.reportProgress&&(o.addEventListener("progress",d),null!==i&&o.upload&&o.upload.addEventListener("progress",f)),o.send(i),r.next({type:me.Sent}),()=>{o.removeEventListener("error",l),o.removeEventListener("abort",l),o.removeEventListener("load",u),o.removeEventListener("timeout",l),n.reportProgress&&(o.removeEventListener("progress",d),null!==i&&o.upload&&o.upload.removeEventListener("progress",f)),o.readyState!==o.DONE&&o.abort()}})}}return e.\u0275fac=function(n){return new(n||e)(L(ny))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})();const sc=new O("XSRF_COOKIE_NAME"),ac=new O("XSRF_HEADER_NAME");class jD{}let Nx=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=Gm(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(L(Nt),L(nl),L(sc))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),uc=(()=>{class e{constructor(n,r){this.tokenService=n,this.headerName=r}intercept(n,r){const o=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||o.startsWith("http://")||o.startsWith("https://"))return r.handle(n);const i=this.tokenService.getToken();return null!==i&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,i)})),r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(L(jD),L(ac))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),Fx=(()=>{class e{constructor(n,r){this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=this.injector.get(LD,[]);this.chain=r.reduceRight((o,i)=>new kD(o,i),this.backend)}return this.chain.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(L(xD),L(jt))},e.\u0275prov=$({token:e,factory:e.\u0275fac}),e})(),Px=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:uc,useClass:Sx}]}}static withOptions(n={}){return{ngModule:e,providers:[n.cookieName?{provide:sc,useValue:n.cookieName}:[],n.headerName?{provide:ac,useValue:n.headerName}:[]]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=st({providers:[uc,{provide:LD,useExisting:uc,multi:!0},{provide:jD,useClass:Nx},{provide:sc,useValue:"XSRF-TOKEN"},{provide:ac,useValue:"X-XSRF-TOKEN"}]}),e})(),Ox=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=st({providers:[VD,{provide:TD,useClass:Fx},BD,{provide:xD,useExisting:BD}],imports:[Px.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),e})(),Rx=(()=>{class e{constructor(n){this.http=n}sendQuery(n){return this.http.post("https://testologia.site/intensive-price",n)}getData(n){return this.http.get("https://testologia.site/intensive-data",{params:{category:n}})}}return e.\u0275fac=function(n){return new(n||e)(L(VD))},e.\u0275prov=$({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Vx(e,t){if(1&e){const n=xu();U(0,"div",33)(1,"div",34),At(2,"img",35),K(),U(3,"div",36),le(4),K(),U(5,"div",37)(6,"div",38),At(7,"img",39),U(8,"div"),le(9,"\u041f\u0440\u0438\u0432\u043e\u0434"),K(),U(10,"div"),le(11),K()(),U(12,"div",38),At(13,"img",40),U(14,"div"),le(15,"\u0414\u0432\u0438\u0433\u0430\u0442\u0435\u043b\u044c"),K(),U(16,"div"),le(17),K()(),U(18,"div",38),At(19,"img",41),U(20,"div"),le(21,"\u041a\u043e\u043b-\u0432\u043e \u043c\u0435\u0441\u0442"),K(),U(22,"div"),le(23),K()()(),U(24,"div",42)(25,"button",43),Ee("click",function(){const i=zs(n).$implicit,s=ip(),a=Iu(38);return Ws(s.goScroll(a,i))}),le(26,"\u0417\u0430\u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c"),K()()()}if(2&e){const n=t.$implicit;Je(2),Nu("src",n.image,Ca),Je(2),to(n.name),Je(7),to(n.gear),Je(6),Si("",n.engine," \u043b.\u0441."),Je(6),to(n.places)}}const HD=function(e){return{active:e}};let kx=(()=>{class e{constructor(n,r){this.fb=n,this.appService=r,this.priceForm=this.fb.group({name:["",kl.required],phone:["",kl.required],car:["",kl.required]}),this.category="sport"}ngOnInit(){this.appService.getData(this.category).subscribe(n=>this.carsData=n)}goScroll(n,r){n.scrollIntoView({behavior:"smooth"}),r&&this.priceForm.patchValue({car:r.name})}onMouseMove(n){this.trans={transform:"translate3d("+.3*n.clientX/8+"px,"+.3*n.clientY/8+"px,0px)"}}toggleCategory(n){this.category=n,this.ngOnInit()}onScroll(){this.bgPos={backgroundPositionX:"0"+.3*window.scrollY+"px"}}onSubmit(){this.priceForm.valid&&this.appService.sendQuery(this.priceForm.value).subscribe({next:n=>{alert(n.message),this.priceForm.reset()},error:n=>{alert(n.error.message)}})}}return e.\u0275fac=function(n){return new(n||e)(v(yx),v(Rx))},e.\u0275cmp=Rs({type:e,selectors:[["app-root"]],hostBindings:function(n,r){1&n&&Ee("mousemove",function(i){return r.onMouseMove(i)},0,La)("scroll",function(i){return r.onScroll(i)},!1,La)},decls:57,vars:11,consts:[[1,"header"],[1,"container"],[1,"logo"],["src","assets/images/logo.png","alt","Logo"],[1,"menu"],[1,"menu-item"],["href","#"],["href","#cars"],["href","#price"],[1,"main",3,"ngStyle"],[1,"main-info"],[1,"main-title"],[1,"main-text"],[1,"main-action"],["id","main-action",1,"button",3,"click"],["id","cars",1,"car"],["cars",""],[1,"sub-title"],[1,"car-toggle"],[3,"ngClass","click"],[1,"car-items"],["class","car-item",4,"ngFor","ngForOf"],["id","price",1,"price"],["price",""],[1,"price-text"],["action","",1,"price-form",3,"formGroup"],["type","text","id","name","placeholder","\u0412\u0430\u0448\u0435 \u0438\u043c\u044f","formControlName","name",1,"price-input"],["type","text","id","phone","placeholder","\u0412\u0430\u0448 \u0442\u0435\u043b\u0435\u0444\u043e\u043d","formControlName","phone",1,"price-input"],["type","text","id","car","placeholder","\u0410\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u0430\u0441 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442","formControlName","car",1,"price-input"],["type","button","id","price-action",1,"button",3,"disabled","click"],["src","assets/images/rolls.png","alt","Rolls",1,"price-image",3,"ngStyle"],[1,"footer"],[1,"rights"],[1,"car-item"],[1,"car-item-image"],["alt","Image",3,"src"],[1,"car-item-title"],[1,"car-item-info"],[1,"car-item-point"],["src","assets/images/gear.png","alt","Gear"],["src","assets/images/wheel.png","alt","Wheel"],["src","assets/images/belt.png","alt","Belt"],[1,"car-item-action"],[1,"button","car-button",3,"click"]],template:function(n,r){if(1&n){const o=xu();U(0,"header",0)(1,"div",1)(2,"div",2),At(3,"img",3),K(),U(4,"nav",4)(5,"ul")(6,"li",5)(7,"a",6),le(8,"\u0413\u043b\u0430\u0432\u043d\u0430\u044f"),K()(),U(9,"li",5)(10,"a",7),le(11,"\u0410\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u0438"),K()(),U(12,"li",5)(13,"a",8),le(14,"\u0411\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0430\u0432\u0442\u043e"),K()()()()()(),U(15,"section",9)(16,"div",1)(17,"div",10)(18,"h1",11),le(19,"\u0410\u0440\u0435\u043d\u0434\u0430 \u043f\u0440\u0435\u043c\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u0435\u0439"),K(),U(20,"div",12),le(21,"\u0412 \u043d\u0430\u0448\u0435\u043c \u043a\u043b\u0443\u0431\u0435 \u0438\u043c\u0435\u0435\u0442\u0441\u044f \u0441\u043e\u043b\u0438\u0434\u043d\u0430\u044f \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u044b\u0445 \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u0435\u0439 \u2014 \u043e\u0442 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0445 \u0441\u0435\u0440\u0438\u0439\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d \u0434\u043e \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0433\u043e \u0433\u043e\u043d\u043e\u0447\u043d\u043e\u0433\u043e \u044d\u043a\u0441\u043a\u043b\u044e\u0437\u0438\u0432\u0430. \u0412\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435\u0441\u044c \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u0431\u044b\u0432\u0430\u0442\u044c \u0437\u0430 \u0440\u0443\u043b\u0435\u043c \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0439 \u043b\u0435\u0433\u0435\u043d\u0434\u044b \u0438 \u0443\u0437\u043d\u0430\u0442\u044c, \u043d\u0430 \u0447\u0442\u043e \u043e\u043d\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u0430 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u0433\u043e\u043d\u043e\u0447\u043d\u043e\u0439 \u0442\u0440\u0430\u0441\u0441\u044b! "),K(),U(22,"div",13)(23,"button",14),Ee("click",function(){zs(o);const s=Iu(26);return Ws(r.goScroll(s))}),le(24,"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0438\u043b\u0438"),K()()()()(),U(25,"section",15,16)(27,"div",1)(28,"h2",17),le(29,"\u041d\u0430\u0448 \u0430\u0432\u0442\u043e\u043f\u0430\u0440\u043a"),K(),U(30,"div",18)(31,"div",19),Ee("click",function(){return r.toggleCategory("sport")}),le(32,"Sport"),K(),U(33,"div",19),Ee("click",function(){return r.toggleCategory("luxury")}),le(34,"Luxury"),K()(),U(35,"div",20),function Jh(e,t,n,r,o,i,s,a){const u=y(),l=H(),c=e+22,d=l.firstCreatePass?function Cw(e,t,n,r,o,i,s,a,u){const l=t.consts,c=ir(t,e,4,s||null,Xt(l,a));mu(t,n,c,Xt(l,u)),Ho(t,c);const d=c.tViews=gu(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,l,u,t,n,r,o,i,s):l.data[c];Et(d,!1);const f=u[k].createComment("");fi(l,u,f,d),Se(f,u),vi(u,u[c]=Ph(f,u,f,d)),ko(d)&&hu(l,u,d),null!=s&&pu(u,d,a)}(36,Vx,27,5,"div",21),K()()(),U(37,"section",22,23)(39,"div",1)(40,"h2",17),le(41,"\u0423\u0437\u043d\u0430\u0442\u044c \u0446\u0435\u043d\u0443 \u0438 \u0437\u0430\u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c"),K(),U(42,"div",24),le(43," \u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u0438 \u043c\u044b \u043f\u0435\u0440\u0435\u0437\u0432\u043e\u043d\u0438\u043c \u0432\u0430\u043c \u0434\u043b\u044f \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u044f \u0432\u0441\u0435\u0445 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f "),K(),U(44,"form",25),At(45,"input",26)(46,"input",27)(47,"input",28),U(48,"button",29),Ee("click",function(){return r.onSubmit()}),le(49,"\u0423\u0437\u043d\u0430\u0442\u044c \u0446\u0435\u043d\u0443"),K()(),At(50,"img",30),K()(),U(51,"footer",31)(52,"div",1)(53,"div",2),At(54,"img",3),K(),U(55,"div",32),le(56,"\u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0430 \u0437\u0430\u0449\u0438\u0449\u0435\u043d\u044b"),K()()()}2&n&&(Je(15),Gt("ngStyle",r.bgPos),Je(16),Gt("ngClass",$u(7,HD,"sport"===r.category)),Je(2),Gt("ngClass",$u(9,HD,"luxury"===r.category)),Je(3),Gt("ngForOf",r.carsData),Je(8),Gt("formGroup",r.priceForm),Je(4),Gt("disabled",!r.priceForm.valid),Je(2),Gt("ngStyle",r.trans))},dependencies:[zm,Qm,Ym,uD,ns,zy,Wy,ps,Xl],styles:[".header[_ngcontent-%COMP%]{border-bottom:1px solid #E5E5E5;padding:25px 0}.container[_ngcontent-%COMP%]{max-width:1200px;margin:0 auto}.header[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{display:flex;align-items:center}.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{vertical-align:bottom}.menu[_ngcontent-%COMP%]{margin-left:244px}.menu[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;display:flex}.menu-item[_ngcontent-%COMP%]{margin-right:115px}.menu-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:15px;color:#030305;text-decoration:none}.menu-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{border-bottom:2px solid black}.main[_ngcontent-%COMP%]{background-image:url(/cars-hw/background.9899c585a1aaa0ca.png);background-position:center;background-size:cover;padding:104px 0 154px}.main-info[_ngcontent-%COMP%]{max-width:855px}.main-title[_ngcontent-%COMP%]{font-weight:700;font-size:80px;line-height:110%;color:#030305;padding-bottom:40px}.main-text[_ngcontent-%COMP%]{font-size:16px;line-height:130%;color:#030305;padding-bottom:40px;max-width:502px}.button[_ngcontent-%COMP%]{padding:20px;width:334px;height:64px;background:#030305;border:0;box-sizing:border-box;text-align:center;font-weight:700;font-size:16px;letter-spacing:.02em;text-transform:uppercase;color:#fff;transition:background-color .5s}.button[_ngcontent-%COMP%]:hover:not(:disabled){cursor:pointer;background:#575757}.button[_ngcontent-%COMP%]:disabled{cursor:not-allowed;color:gray;background-color:#343434}.car[_ngcontent-%COMP%]{padding:100px 0}.sub-title[_ngcontent-%COMP%]{font-weight:700;font-size:60px;line-height:70px;color:#030305}.car-items[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}.car-item[_ngcontent-%COMP%]{max-width:384px;text-align:center;margin-top:40px}.car-item-image[_ngcontent-%COMP%]:hover   img[_ngcontent-%COMP%]{transform:scale(1.1)}.car-item-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{vertical-align:bottom;transition:all .3s}.car-item-title[_ngcontent-%COMP%]{font-weight:700;font-size:24px;line-height:150%;letter-spacing:.02em;color:#030305;padding:15px 0 17px}.car-item-info[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.car-item-point[_ngcontent-%COMP%]{width:110px;height:92px;margin:0 7.5px}.car-item-point[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-bottom:11px}.car-item-action[_ngcontent-%COMP%]{margin-top:13px}.car-item-action[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{width:100%;padding:15px;height:54px}.car-item-point[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){font-weight:700}.car-toggle[_ngcontent-%COMP%]{display:flex;width:194px;border:1px solid gray;margin:20px 0}.car-toggle[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{padding:20px;background:white;box-sizing:border-box;text-align:center;font-weight:700;font-size:16px;letter-spacing:.02em;text-transform:uppercase;color:#000;transition:background-color .5s;cursor:pointer}.car-toggle[_ngcontent-%COMP%]   div.active[_ngcontent-%COMP%]{background:#030305;color:#fff}.car[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap}.price[_ngcontent-%COMP%]{overflow:hidden}.price[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{position:relative;padding-bottom:121px}.price[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%]{margin-bottom:20px}.price-text[_ngcontent-%COMP%]{font-size:16px;line-height:130%;color:#5d5d5f;margin-bottom:60px}.price-form[_ngcontent-%COMP%]{max-width:344px}.price-input[_ngcontent-%COMP%]{padding:22px 18px;width:344px;height:65px;background:#FFFFFF;border:1px solid #5D5D5F;box-sizing:border-box;font-size:16px;color:#000;outline:none;margin-bottom:15px}.price-input[_ngcontent-%COMP%]::placeholder{color:#5d5d5f}.price[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{width:100%}.price-image[_ngcontent-%COMP%]{position:absolute;bottom:0;left:401px}.footer[_ngcontent-%COMP%]{border-top:1px solid #E5E5E5;padding:25px 0}.footer[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.rights[_ngcontent-%COMP%]{font-size:15px;color:#030305}.price-input.ng-touched.ng-valid[_ngcontent-%COMP%]{border:1px solid #5d5d5f}.price-input.ng-touched.ng-invalid[_ngcontent-%COMP%]{border:1px solid red}"]}),e})(),Lx=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Ct({type:e,bootstrap:[kx]}),e.\u0275inj=st({imports:[eT,ID,Ox]}),e})();(function zI(){wm=!1})(),XS().bootstrapModule(Lx).catch(e=>console.error(e))}},re=>{re(re.s=147)}]);